Saving Cadrays Camera positions

Hi,

I am trying to save current camera positions and store / restore them after changing my view. This is the current script in my project:

vsetcolorbg 255 255 255
box table 7000 7000 40
vdisplay table
vdefaults -angDefl 07
Graphic3d_Camera
V3d_View::Camera(1)

I know this is where i am wrong:

Graphic3d_Camera
V3d_View::Camera(1)

So i need help to correct this.

gkv311 n's picture

Try vviewparams -cmd command in Draw Harness to get camera parameters that could be restored by vviewparams.