Not exactly that you want but...
Camera&TargetPointToClipboard – it will copy the camera and target locations to the clipboard as a text string:
F9 script:var v = moi.ui.mainWindow.viewpanel.getViewport('3D'); moi.copyTextToClipboard( 'Camera=' + v.cameraPt.toString() + '\r\nTarget=' + v.targetPt.toString() );
Similarly you can set the .cameraPt value to something to place the camera at a certain x,y,z location:
F7 script:var v = moi.ui.mainWindow.viewpanel.getViewport('3D'); v.cameraPt = moi.vectorMath.createPoint(50.2, 30.5, 10.1);
|