Change Element Family and Type, and Reapply Parameter Values


I’m trying to consolidate some duplicated Revit families - that situation where you copy in a detail, but a family isn’t recognized as the same so a 1,2 is appended to the end. When I change the family, all the parameter values reset. What I’m trying to do in Dynamo is extract the existing parameter values, change the family, and then re-apply the parameter values. The “SetParam…By Name” nodes keep throwing an error about list lengths not matching. I’m wondering if it has anything to do with Dynamo’s inability to execute in a particular order, so I tried saving info in a “wait node.”

Does anyone have any thoughts as to what might get this graph working?

Many thanks!

Have you tried to connect the outgoing of your second node ( All Elements of Family Type) to the incoming (element) of your 3 end nodes.


Hi, Christian.
Gave it a go, it still produces the same error. :frowning_face:

Hi achiHXDF8,

Have you been able to sort this out. I want to do exactly the same but have not been able to make it work.