Sorry, I didn’t convert the XYZ coords to a Dynamo point for brevity. If you do and you also get the max point, you can attempt to recreate the bounding boxes in Dynamo. Keep in mind that the BoundingBox encapsulates all visible parts of that element in the view( that is all elements in the view range box of the view), so if your view has a large depth, elements hidden behind another element will also be included.
Here’s the full code for fetching the extents and converting them to a Dynamo BB:
My view is deep, so a large part of the walls is included. If you convert the BB to a cuboid and extract it’s volume however, you will see that it’s smaller than the volume of the model BB because not all of the wall is in the view range box.
I’ve got a new idea for you. What if we extract the view’s right direction and then the wall curves and finally we compare the angle between the two vectors? That way anything over a certain value will be in “section” and everything else will be in elevation?