Thank you Death, but I already tried these settings, but it can't exactly reproduce the viewport settings.
Thank you Michael,
I could solve my problem reading the threads.
My solution now is to
1) Get the Position with a script using a hotkey:
script:var v = moi.ui.mainWindow.viewpanel.getViewport('3D'); moi.copyTextToClipboard( 'Camera=' + v.cameraPt.toString() + '\r\nTarget=' + v.targetPt.toString() );
The result is:
Camera=407,04,-682,82,-230,78
Target=62,01,-44,72,-21,64
2) Replace some commas with points:-(((
Camera=407.04,-682.82,-230.78
Target=62.01,-44.72,-21.64
3) Edit the script for the camera:
script: camPt=moi.VectorMath.createPoint(407.04,-682.82,-230.78);targetPt=moi.VectorMath.createPoint(62.01,-44.72,-21.64);moi.ui.getActiveViewport().reset();moi.ui.getActiveViewport().setCameraAndTarget(camPt,targetPt);
4) Enter the script using TAB.
It works, but is not very comfortable.
|