Is it possible to swap nested family,either shared or non-shared with Dynamo in a project?

Dear devoted Dynamo and Revit users,

I have been working on door families which have nested panel families.
As swapping nested families in host component families, which are determined as “Family Type Parameter”, is a bit hassle in the schedule, if it is possible to retrieve element id in the host family and set the element id into the other host families can be very useful.

Is there any way that I can do this??


I tried basic nodes to set the value of parameter but the value for “Family Type Parameter” is not integer nor string but id the nodes didn’t work well.

Is it even possible to set nested family type into a host family with Dynamo?

It would be appreciated if you share your insight with me.

Thank you,

Yuki

Hello there @yukicchi626! Did you manage to solve that issue? I’m facing a similar situation here.
thanks

You should only need to plug a Family.Type in as the value.

The bottom of my graph shows how you can get a family type by name if you do not want to use Family Types.

1 Like

Thanks @Steven! I was using archlab’s ‘Set.Parameter.Type’ instead so that’s why it wasn’t working.

Your first idea works pretty well!