Hi Lewis - yeah cplane is slightly different than a regular command (mostly because you can run it while you are still running inside of another command). To set it up on a keyboard shortcut use this:
script:moi.view.setCPlaneInteractive();
If you want to set up a key for resetting the cplane to world, use this:
script:moi.view.resetCPlane();
It's also possible to set up some shortcuts to switch to a Front or Right CPlane if you want:
Set CPlane to Front plane:
script:moi.view.setCPlane( moi.vectorMath.createFrontFrame() );
Set CPlane to Right plane:
script:moi.view.setCPlane( moi.vectorMath.createRightFrame() );
- Michael
|