Using the method Rhino.Display.RhinoViewport.Rotate, I can rotate the viewport in increments:
2025-06-07+02_rotate.py (201 Bytes)
Now I wonder how to set the rotation to an angle relative to the unrotated viewport. Resetting the viewport rotation before doing Rotate would work. I tried, but to no avail:
rhinoscriptsyntax.CurrentView('Top')
7 posts - 3 participants