Room names and numbers on components fails

I’m trying to simply get the parameters from the rooms and place them on mechanical equipment components. I made a smaller model in order to test it and I still fail. It’s probably some lacing or some node missing in between.


@sivin.sivov, seems that you need find rooms for elements first. Try Element ToRoom from Genius Loci package.

1 Like

It asks for a RevitLinkInstance as input but both the rooms and the components are in the same model.

I tried with “Elements in Room” but it also mixes them up.

you can skip inputs with emphasis (text with angled characters)

1 Like

You don’t need the flatten but you also need to find out in which room is the equipment. You can’t assume that the order of both lists are right.

4 Likes

of course not, why would I assume that :sweat_smile:

Element to room worked, I’ll try your method too. Which package is Rooms By Status from?

It’s a native node since … a couple release :slight_smile:

1 Like

This script has been messing with me again. I tried to set the Room.IsInsideRoom node to Cross lacing but it didn’t quite have the correct outcome. I’m getting -1 values at List.IndexOf and I’m not sure why.