Hi Jacob, @jacob.small
That is a good point!
However, I have only 4 big rooms created with room boundary lines on each floor.
So each “room” is more like 3D-zones containing several rooms, walls, doors, etc.
I want to tag objects within the zone for scheduling and logistics.
I have tried several plugins that use 3D-masses to assign parameters but each tool did take to long/ crashed etc. Figured I need to tailor-made something in Dynamo instead .
But maybe the custom Node I’m using won’t allow objects that can be within several Rooms? That makes sense.
That would be my guess. You could pull every door’s ‘to room’ and ‘from room’ parameter pretty easily, so that will solve that. Then you can get walls by getting a point along the location line (say the midpoint) and using a room at point (archilab I think) node to find the room there. Ceilings would work the same as the walls, but with a point at UV parameter on their lower face defining the point. Solid “model in place” families of any category can likely just use the centroid of the geometry.
Other items will likely have a similar issue - stairs, pipes, windows, beams, conduit, ducts, floors, etc (so most system families). With some knowledge of how items are created in Revit and their typical relationship to the room, the methods above can likely be repurposed to get this info for any category.