Hi guys
I am trying to write a room number to curtain walls and then to curtain panels. I filter all curtain wall and find intersection geometry. So far so good, but i got stuck on list filter. I need to extract index of solid’s in geometry intersect list, like this:
Wall on index 0 and 4 - room n. A1.01
Wall on index 1 - room n. A1.02 and so on.
Clockwork/ archilab has a node which gets all the bounding elements of a room. This would be easier/quicker than checking for intersection. You can then use isCurtainWall (Springs package from memory) to filter our the results to return only the curtain walls. Rhythm will then give you the curtain panels
I have already tried elements in room but it’s use only families in room. I need curtain walls and curtain panels.
Also i tried Get surrounding elements by Steam Nodes but it use a bounding box method which causes problems.
Yes, but i need only curtain walls inside of room which don’t bounding the rooms. I made quite a progress. Here is a script.curtain panels - Room number_3.dyn (70.5 KB)
get the location curve of curtain panel, pull them on room’s level
compare the distance between 1 & 2, (geometry.distanceto or Geometry.IndexByDistance from spring) if they are closed
if distance is close, means the cutain panel is next to that room