Sort windows area by room

Hi Guys, probably a very simple task (but I’m new in Dynamo)
I want to calculate the area of the window in a room (sum off all the windows area).
Right now I have all the windows belonging to a certain room, and in a similar way, the list of all the areas, I need to sort the areas list in the same way as the windows room list (or simply sum up and give it to the corresponding room id.
any suggestion??
I leave the files here of course.
Rapporti Aeranti.dyn (23.5 KB)

Hi @francesca.maisto.ort ,

See if the edits I made here help:


You were missing list levels/ lacing on your Element.ElementType+ node, that’s why the list structure wasn’t kept. In my case, using the Revit Sample Project did I not need the node, but I kept it to show you what was missing :slight_smile:

Also, this might be a good read if you aren’t familiar with list levels and/or list lacing.

1 Like

Thank you very much, totally worked, I was not aware of this feature.