I want to create a script in which we extract the structural column dimensions (bxh) and and rename the family type with the text. I have done thus far, but getting this error. What am I doing wrong?
CHECK COLUMN SIZE AND NAME-1.dyn (27.3 KB)
in your screenshot you are trying to change the type, not the type name. If you change the parameter name with the correct one, Type Name, you get anyway an error because the parameter is read-only (Upper part of the graph).
You can use Element.SetType from Clockwork package, this should work:
Thanks for the guidance. I tried this but somehow not getting the result. Please check.
Expand the Element.SetName node so we can see what it is saying.
@abhijeetraje show full graph with all the previews visible.
Are you feeding it a Family or Family Types?
@abhijeetraje I just tested and it works perfectly. Here is the process in action:
Check your clockwork package version. Make sure your using clockwork for Dynamo 2.x.
Actually I am.
Could you share rvt file?
Here it is. trial.rvt (3.3 MB)
You where connecting FamiyInstnaces instead of ElementTypes:
That was Elementary . Should have tried that myself.
Mark the post as solved.
That’s what I suggested in post 5. Glad you got it resolved.