I’m trying to detect intersections between walls and cable trays so I can place sleeves automatically at the intersection points.
After I place the sleeves using FamilyInstance.ByPoint, I need to adjust their dimensions like this:
-
Height and width should come from the intersecting cable tray (tray size + 50 mm, for example).
-
Depth should come from the wall thickness.
The issue is with the Geometry.Intersect node.
If I use cable trays as the first input, I get a list structured by trays — which is great for controlling the height and width.
But then I can’t get the wall thickness properly, since the list isn’t structured by walls.
If I flip the inputs (walls first), I get a wall-structured list — perfect for depth — but then I lose the tray-based structure I need for height and width.
Basically, I need a way to get both structured lists (one by cable trays, one by walls) from the same intersection, so I can set all the sleeve parameters correctly