I’m searching for a way to orient a 3D view to a floor plan with the same result as shown in the picture below (in 3D view> right click view cube> Orient to View > Floor Plans > Level 1.
I’ve been playing around with the BoundingBoxXYZ.
I can accomplish this by using an existing 3D view by doing the following:
View3D.GetSectionBox() = view
However, I’d like to be able to use the floor plans bounding box.
“ViewPlan” Class has a BoundingBoxXYZ property; however, it doesn’t seem to be returning a bounding box. I’ve tried using in the following ways:
ViewPlan.BoundingBox = view
ViewPlan.BoundingBox.Max (get error saying AttributeError: ‘indexer#’ object has no attribute ‘Max’)
in an attempt to deconstruct and create a new BoundingBoxXYZ object to use.
Thanks for any help in advance!