I am trying to create a script where I can filter rooms by their name and then get the elevation area of the bounding walls and group the areas by materials.
We are trying to automate our glass/facade ratio calculation as far as possible and if this is possible it would be a huge help. We need to count the areas of the three walls of each of our loggias. Some of those walls are solid and some are glass partitions. Right now the walls are different types of basic walls with either a glass or default wall material.
I am not at all experienced in Dynamo but tried to trial-and-error my way forward and currently have this:
Is it going in the right direction? I am thinking I could somehow extract the bounding walls by filtering the rooms by name (“Loggia”) and then get the material of the extracted walls. And then with lists of bounding walls with different materials get the length of the boundary line of the indivudal walls and then multiply that by the room height to get the areas.
The green rooms are the loggia rooms and the red walls are glass walls in this plan:
As you can see there are a few different scenarios. Some loggias are fully enclosed by glass, some have solid walls on the left side and one has solid walls on both sides.