Hi Yophie,
> Is it possible to set up a script to cycle between all the viewing options
> split, 3d, top, front right, split, etc)?
Yup, the following script will do that:
script: /* Cycle through view modes */ var names = ['split','3d','top','front','right']; var vp = moi.ui.mainWindow.viewpanel; var current = 0; for ( var i = 0; i < names.length; ++i ) { if ( vp.mode == names[i] ) { current = i; break; } } var next = (current+1) % names.length; vp.mode = names[next];
If you set up a shortcut key and then paste that into the "command" part (the right-hand column) of the shortcut key then that key should cycle through the view modes like you want.
Hope this helps!
- Michael
|