Get area of types of wall finished per room

hello everyone,

I’m trying to make a script that gives me the wall finishes per room. I managed to get the wall finishes per room with their areas and filtered them on their orientation, But I want dynamo to combine the walls and their areas if the wall has the same type.

do you think you can post the DYN file?

revit to excel.dyn (301.8 KB)

this is the dyn tom,

Thanks in advance

i managed to get the data I want, the only question that is left for me is how to convert the data to my list. every list is a room, so the data you see are the different walls and their combined areas

and the DYN because I wasn’t able to make a picture of the full script

revit to excel.dyn (268.2 KB)