Place families by room name from excel

excel
dynamo
rooms

#1

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)


#2

@icartesr

I think you might have some unplaced rooms


#3

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


#4

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


#5

@icartesr

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