Get items located in rooms

I made this flow to get the room where each element is located in a specific parameter (ROOM), but when I run it, it shows the same room for all the elements and I’m not sure why this happens.

Check for unplaced Rooms and get rid of em

then try again

2 Likes

You’re also just doing a basic 1-to-1 intersect of the elements with the rooms. You’ll have to use list levels or cross-product lacing to check the intersection of every element with every room. There are also nodes for checking if points exist in a room that could help simplify this process.

Thank you very much, I am still learning but I have only been using Dynamo for a short time.

1 Like

Just ask. We are here to help

Instead, you can use FamilyInstance.Room or FamilyInstance.Space

1 Like

The intention I have is to send this information to Excel along with the coordinates and the ID; this is my basic flow to send everything to Excel. How can I also add the room to which each element belongs?

Elements posicion.dyn (168.2 KB)