Place families by room name from excel

Hi guys,
I’m triying to place families from an excel document that has two column: Room Name and Family Type. So I want to get room position by name (in some cases the name can repeat in other rooms) and in those positions instance a family with a name.
My thinking is this code works like a bucle, but its works only with the first element of excel data.
I hope u can help me, thanks!

PME.xlsx (9.0 KB)


I think you might have some unplaced rooms

I check, and I don’t have unplaced rooms.

I’m looking that my results be like:
So that way in those points can instance families
By the way I’m using rac_basic_sample_project.rvt


Get your rooms in dynamo and use Element.Location.
That will give you the points where those crossed lines in the room live.

Hi guys.
Did this ever get a solution?