How to use FamilyInstance.SetType

I have a list of elements and i want to change their family type. I was considering to use FamilyInstance.SetType (Clockwork), which needs an instance and a type.

Somehow the node returns null. Please could you provide help on what is the best way to do this very simple operation?

Try pulling the contents out of the custom node to see if there is a more useful error message.

Have you tried lacing to longest ?

Hi @jnoordzij , you can do that with the SetParameterByName node. The “element” input is your list of family instances, the parameter name will be “Family and Type” and the value is your new family type.