Get Family Name vs Get Type Name

Hi Ben,

The Dynamo team has tried to keep the structure of the nodes as similar as possible to their equivalents in the Revit API. That has a lot of benefits but it may be a hindrance at times too because the API has been revised and re-revised constantly for the last 10+ years and the naming scheme in the API is frankly said is a bit of a mess. However if you think logically about it, you can still find your way through it:

2014-12-19_093119

 

 

-When you run a collector of all elements of a category, you get family instances.

  • You have to then extract the family symbol object of those instances ( that’s the family type)

  • Once you have the symbol, you can cross-reference it to the families and see the family it belongs to

  • finally you can use the Name node to extract the name from the family objects as a string.

1 Like