Room info of ducts, pipes,

Hello,

With the node “FamilyInstance.Room” it is possible to get the name of the room of instances in my HVAC-model, like air terminals, duct accessoires and duct fittings. Is there a way to get the name of the room in which ducts are located?

Thanks in advance

EDIT - I misread the question. You cannot retrieve ducts as they aren’t FamilyInstances. Archilab has a custom node with python script you can use to generically retrieve elements, which would capture ducts. You can also GetLocation the ducts to test the geometry against the rooms, though that will likely be heavier.

Unless the rooms are in the HVAC model you will need to do some processing
Family instances with point locations like Air Terminals, Duct Fittings & Accessories are fairly simple and relatively efficient - example :backhand_index_pointing_down:

Ducts (and linear based families) on the other hand pose a different problem as they can exist in multiple rooms - do you use the start, mid or end point? Do you intersect the line with room geometry? Things start getting computationally heavy quicky. Also are you using spaces (aligned to rooms)?