I ran into serious problems with viewports when I was experimenting with my grasshopper definition. I am using grasshopper with components from Human and Heteropter to receive and modify information about my camera position and viewport size.
My camera goes somewhere very far, far away and I can’t bring it back, grasshopper is turned off so any definition doesn’t override viewport properties on the fly. Selecting geometry and using commands: Zoom selected, Zoom selected all viewports, Zoom extends, Zoom extends all viewports doesn’t help. Deleting all viewports and creating new 4 viewports or 4 default viewports helps only sometimes. It’s really a struggle to make my file work and I don’t have any 100% working step by step solution to repeat when problem occurs again. Even gumball goes crazy and don’t look and work as it should.
I attached screenshots and rhino file, please check it out.