GetSectionBox() problem

Hi guys,

 

I’m having a little issue with View3D.GetSectionBox() in Python which i’m hoping someone could help with.

As shown below in the python image, I’m simply querying the XYZ of the SectionBox and creating points based on the Max and Min. I’ve multiplied the XYZs by 304.8 to convert from mm to foot which seems to work fine when i’m getting other points in the project.

 

my only guess is it is rotating for some reason as you can see in the second image that the points are similar in size and not far in location to the actual section box.

also, i’m creating the points Points.ByCoordinates from Python.

thanks,

Jeremy.
1