As I am still a noobie with GH I was searching for a way to place colors on a large set of buildings based on their height. I want to split them into 6 different groups and give them their unique color, so they are easily readable.
I want to divide them into groups with heights between
1 and 9,
9 and 12,
12 and 16,
16 and 21,
21 and 28
and everything above 28
I started something of a script, but I can’t really get what I really need out of it. Can you please help me out? I will appreciate it a lot! Thank you in advance!
Thank you both so much! @Japhy
I had problems exchanging the lines with the mesh to test it, which is totally my fault, thank you very much!
@ Joseph_Oster
I connected it to the meshes and it worked, sorry that I didn’t internalize the geometry from the beginning.
Do you think that there is a way to assign custom colors?
First, I needed to modify version ‘A’ so the branches correspond to the list of domains, smallest to tallest. This required rebuilding the data tree by selecting branches: