Room to Space from linked file

Hello everyone,
I’m looking for a Dynamo script or a Revit AddIn that makes it possible to transfer the rooms from a linked architecture into my project as MEP rooms. I’ve already tried add-ins such as IFC2Room and RippleHVAC, but unfortunately I can’t import all the rooms without errors. I’ve also come across Dynamo scripts here in the forum that are supposed to solve exactly this problem, but unfortunately these posts are almost 10 years old and some Dynamo nodes no longer seem to exist, such as Room.FromElement, Room.LocationPoint and Space.ByPoint.

Perhaps someone here has an idea how I can automatically create MEP rooms in my project if I only have the rooms in the linked file.

I’d start with analyzing the old scripts. I think you’ll find that missing nodes can be replaced with more modern equivalents. Note that rooms and spaces are now both SpatialElements…

Rooms and spaces can both be created in the same way with the api.
Document.NewRoom(level, uv)
Document.NewSpace(level, uv)
You’ll find nodes for these as Room.ByLocation and Space.ByLevelLocation

Hi. In Revit 2024 it looks like this. But keep in mind that you need to have the same levels in both architectural and host model. And also remember that spaces are created with default height, top and bottom extents. So you would need to create one more script to pull this data from arch rooms to spaces.

1 Like

@Andriy
That sounds good, I have recreated the script in Revit 2024 but I can’t find the node “Select.GetLevelByName” anywhere. Can you please help me here and tell me what I have to do to find this node?

Hi @Lennard_Kemper ,

Node Select.GetLevelByName coming from Archi-lab.net package

1 Like