Is there a way to keep the camera target when switching between plan view and perspective?
When I work on the model in some CPlane, I often want to temporarily switch to the perspective view and then come back to the CPlane view
I use commands Plan and SetView _World _Perspective for switching between the views.
When I come back to the CPlane view, all I see is the CPlane origin zoomed in and my initial “area of interest” (camera target) is far away. I need to zoom out and then zoom in to go back where I was ( …annoying )
Unfortunately, it still misses the “target” after switching views.
Here are some more details on what/how I do the switching, maybe it has something to do with it:
I work in a single maximized viewport and I do the view switching via icons on the toolbars.
The model is huge (in dimensions, not in complexity) and CPlane origin is commonly far away from the actual part of the model I work on. I’m in shipbuilding and I “cut” the entire model at a certain plane and then work in that plane all over the model
The CPlane section is created with my own code ( C# rhinocommon )
At this point i would simply use two different viewports, one for working is section, another for the perspective.
otherwise it would be simple to create your own c# code to save the camera information every time you call it then switch to the either plan or perspective