All Family Types in current file (system families)

Hello everyone,

I am trying to create a set of ‘wall types samples’ available in the project file that I can refresh automatically, having a list of all wall family types available in the file. For that I would need a list of the wall family types available in the project file to then create the wall samples and refresh when needed.
I can’t find a way to obtain all the family types (walls) available in the project (without first having model elements).

In previous posts I saw that can be used “Get All Family Types” node but this does not support System families.
I even tried to get a python node solution but I do not understand how to retrieve this info. I started with (get_wall = FilteredElementCollector(doc).OfClass(FamilyInstance)) but that’s as far I could go.

I really appreciate any clue to the right direction guys.

Thank you and have a nice day

All Elements Of Class or All Elements of Type depending on your Revit version, with an Element Classes or Element Types node with the dropdown set to Wall Types as the input.

1 Like

Hi if it’s just the wall type you can use the OfClass(WallType)

1 Like

Thank you for the quick response. Element Classes > All elements Of Class > Element.ElementType did the magic. There is a custom node from GeniusLoci (All elements Of Class+) that is giving the WallTypes of only the elements modelled in the project, and that was my confusion

1 Like

Thank you jmark, Your solution also works perfectly + helped me to understand more about the Revit API. Now I know there is a Wall Class and a WallType Class (as well for Floors , roofs and ceilings). I can’t mark both as solution, but it is correct and it did help

2 Likes