Hi everyone,
I was trying to get the lowest room surface by comparing their Z value of center point.
I tried to use "List.MinimumItemByKey" and "List.SortByKey", but both of them didn't succeed.
Finally, I used "filterbyboolmask" to do the job.
However, I am very confused why the other two methods failed("List.MinimumItemByKey" and "List.SortByKey")?
Can anyone tell me? Thank you very much.
Gelöst! Gehe zur Lösung
Gelöst von RDAOU. Gehe zur Lösung
They are not working for 2 main reasons:
Apart from the above you are over complicating a simple graph. If you want to get rooms sorted based on lowest/highest, you can simply use the Top Offset Parameter of the room.
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
Then use the following...you can extract/filter faces (Top face or bottom) >> perimeter curves >> start point >> Polygon.bypoints >> Polygon.Center >> Flatten >> Point.Z
Works better in case the rooms are under a sloped or curved roof
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.