I have been unable to find the correct python call to adjust the size of an existing, active floating viewport. Essentially, I need the equivalent of:
rhinoscriptsyntax.Command ("-viewportProperties _Size 400 200 Enter" )
… but without the Command() call
Here’s what I have, which appears to change the view buffer size, but not the floating window size:
activeViewport = doc.Views.ActiveView.ActiveViewport dims = System.Drawing.Size( 400, 200 ) activeViewport.Size = dims
Any help would be greatly appreciated.