I am trying to get the Room Number from a list of Rooms into the Comments (or another text parameter) of a sub-list of elements.
I used the “Family.InRoom” node (thanks Peter Kompolschek) that works great, but I need the element instance (not the family type) to access the Comments parameter, which is why i used “Elements in Room”.
Element.SetParameterByName will work for a flat list, but how can I efficiently push this information into the elements in a sub-list? The elements in red need to have “G-025” and the blue need “F-005”. A push in the right direction would be great as the funnelling of information in through Dynamo would help me in all other projects.
I’ve attached the test file and dynamo script.
Room numbers to Comments-2014revit