Why does it seem so difficult to find the center of a View? Driving me nuts. Ultimately, I want to place a GA in the center of the view crop.
Python and the View Class gets me the CropBox Max and Min, the Origin, and View, Up, and Right directions (Outline seems to refer to its sheet size?) but the points don’t line up with the view in the World CS. I thought transforming the points to the CS of the view would get me there and it does get me closer but still, there are issues. I need to accommodate for an inverted Z axis in the CS and if the view is a section rather than an elevation I also have to rotate the GA depending on it’s View Direction (or at least I think that’s the determining factor).
What am I missing? I’m really hoping there’s an easier solution… or at least one that I can implement reliably.
View Helper.dyn (114.8 KB)