Oh that’s an old one from before I was at Autodesk… don’t have the original files anymore (the rest with my old employer), but likely could do what you’re after. You’d need to be clear on how you wanted the logic to work if the elements weren’t parallel.
That said, I’m not sure how it helps @RuiBarreiros though as he appears to be after a plan view. I’ll take a look tonight if I get time though. Got a vacation coming up though so I’m pretty busy.
why not create a scopebox by boundary box after setting the perpendicular/plan view if possible, or extending the cropbox, somehow you have the logic to know there should be two elements, or it can be derived?