hello, I am trying to make a graph to tell me which elements are in which scope box but I think I am a long way off. Can someone please help me? Thanks!
I like to use the polygon containment methods
Elements inside scope box
I used an get item at index to obtain the bottom curves of the scope box. In my image those were 3,4,6,8. Yours might vary, and you would need longest lacing if it’s more than one scope box.
That’s good for a 2D objects…Scope Box is a 3D construct if I am not mistaken. There are methods in Revit for checking if things are inside of BoundingBoxes…I would recommend to do that instead.
@Konrad_K_Sobon yes, that is exactly what I was hoping to use, bounding boxes. But I cant get mine to work. Do you know what I am missing from here?
Have a look here: