I created a Revit family , where everything is connected to a single parameter. Can I connect the family to dynamo for change only this parameter? If this is possible, how can I do it?
Thank you
Maria
I created a Revit family , where everything is connected to a single parameter. Can I connect the family to dynamo for change only this parameter? If this is possible, how can I do it?
Thank you
Maria
Yes.
Try the Element.SetParameterByName node and other associated nodes
Just use Element.GetParameterValueByName to select the parameter of the specific family, then re-feed back
the new value of parameter via Element.SetParameterByName.I use Dynamo for the first time, excuse me for stupid questions:
is “clearance” the name of your parameter?
I should select elements in my metric model family?
I’m putting parameter name in code block and select my model, but it doesn’t work.
thanks to all
Select the family in the Project environment and use the paramater name in that family.
is “clearance” the name of your parameter? - the example above was a shared parameter named “CLEARANCE”. In you family you need to create/add the shared parameter.
second option is to create an instance type parameter in the family - see attached screen capture (the family name is CLEARANCE as well but the clearance height shared param. is the one you were asking. The other instance parameter in this example is named “W”.
Thank you. I’m trying to do it, in two ways how you has showed me, but dynamo doesn’t find my parameter. It’s an istance and if I alter it in Revit, my family change.
Â
CLEARANCE_2 REVIT_DYNAMO_PARAMETER_1