Today I was running into a problem when I wanted to save and restore viewport settings.
I can get a
ViewportInfo object with all the settings from a
RhinoViewport by using the constructor that takes a
But, if my viewport has changed, I don’t see any way to restore the viewport using the previously saved
I ended up doing this in C++ where I can save
ON_3dmView objects (viewport.View()) and restore the settings (viewport.SetView(saved_view)). There it works perfectly.
Is this an oversight in RhinoCommon, or did I not see how to restore a viewport from a given