Hi Matt, so do you mean you want a script that will do the same as setting the angles in the View angles dialog that you show there?
In script form that should go like this:
script: var vp = moi.ui.mainWindow.ViewPanel.getViewport('3D'); vp.setAngles( 59.79, 46.15, 0.16); vp.fieldOfViewAngle = 30.0;
The setAngles() method on a viewport takes the up/down, left/right, and tilt angles and field of view is set by the .fieldOfViewAngle property.
re: saved views, some ideas have been percolating for a while on that. I'm kind of thinking that stuff that involves saved named lists could go in the scene browser under a "Views" section. Then maybe background bitmaps, named construction planes and named views could go under that.
- Michael
|