I’m also not satified with my code that is working. So i picked up the first one what must work.
What i did is pick all the surfaces from a wall where the Z-values are pointing up.
the rest of the code is almost the same as the working one. But for some reason something is going wrong in the list.
Here you can find the code and the example “Building” to test how it works. What happens is that 2 inner walls that should get a color, doesn’t get overriden but two outer walls?:
intersection.dyn (28.9 KB)
Voorbeeld Dynamo.rvt (1.6 MB)