Getting Rooms in View

Hello! My goal is to tag all untagged rooms from a specific set of views (PlanViews). The problem is that the rooms are coming from a linked (archi) revit file so the all elements of category in view node does not work.

I’ve seen people use python scripts and revit API for a workaround here but I’m curious if there’s a way to retrieve all the rooms from the archi file using strictly nodes from packages. Not quite familiar with Python (yet).

Thanks everyone!

off the top of my head:

I’ve seen people use python scripts and revit API for a workaround…

might be a good chance to start fumbling with it.

1 Like

Hi @HulkSmash69420 and welcome. probably something here in that case

1 Like

This works great and I am able to retrieve the linked element room with this method! Only problem here is I can’t use the output of the ootb directly with the list.set difference since the element names don’t match exactly and would require a bit more additional nodes before I could use them to the room.tag node.

This looks great @sovitek! I can’t seem to find the node you used though. The one named “SOVI_get_linked_elements”. It seems like a custom node? I do believe it’s from the genius.loci package. I just can’t find the name of the node for the 2024 version :sweat_smile:

1 Like

that one its actuelly from spring but just modified for work in 2025, you can just use bimorph or spring and should work in 24, tag tagged element is from genius loci and for room status just use datashapes in 24, or just get the rooms area and if it 0 the room isnt placed and bounded

1 Like

Found it. Big help. Thanks a lot @sovitek! cheers

1 Like

Follow up question, is there any way where I can get all the rooms (from a linked archi revit file) wherein they are categorized by view? I’ve already got all the tagged rooms categorized by view (output of roomtag.room node). No luck in figuring out how to get all the rooms visible per view though. I need it so I can get all the untagged rooms categorized per view by using the list.set difference node.

Hi @HulkSmash69420 you could try something here. but keep in mind it will take all if your viewrange is set to level above without - offset

cMjgPGGhGo

1 Like

ps its very rare i do it on linked rooms, i like to create my own spaces, just give better control IMO :wink:

2 Likes

Hi @sovitek, these nodes work great. However for some reason, none of the tagged rooms seem to match with the rooms from SelectByCategoryHostInView. I’d love to share my revit file but I can’t since it’s company property.

I’ve even tried comparing them with a different parameter such as room.number but they still don’t match. I believe the output from the SelectByCategoryInHostView is incorrect since the room numbers are incorrect.

not sure, hard to say without a file, could you create a small sample with that issue exist…does your viewrange goes to level above ? PS is it only one room there fail ?

PS and worth to check link origin is the same as in your active file ?