Scripts to change view question

 From:  fcwilt
11710.1 
Hi,

I have these scripts in my shortcut keys setup and they work fine:

script:var vname = '3D'; var vp = moi.ui.mainWindow.viewpanel; vp.mode = vname;

script:var vname = 'front'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode == vname ) vp.reverseView( vname ); else vp.mode = vname;

script:var vname = 'right'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode == vname ) vp.reverseView( vname ); else vp.mode = vname;

script:var vname = 'top'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode == vname ) vp.reverseView( vname ); else vp.mode = vname;

The last three toggle front/back, right/left and top/bottom.

My question: Is there a way to go straight to "back", "left" or "bottom"?

I have a 3D Connexion device which has buttons for "back", "left" and "bottom" but I cannot figure out the scripts for them.

Thanks.

Frederick