PDA

View Full Version : Scripts for Move Settings


flouie
07-12-2006, 08:47 PM
Is there a MEL script to set the Move Settings? I want to create a button to quickly go to World / Object / Local settings.
http://student.vfs.com/~3d55fonda/Move%20Settings.gif

NolanSW
07-12-2006, 09:04 PM
Here you go. All this can be grabbed from the history window of the script editor


//set to move tool
setToolTo $gMove;

//set to object
manipMoveContext -edit -mode 0 Rotate;

//set to local
manipMoveContext -edit -mode 1 Move;

//set to world
manipMoveContext -edit -mode 2 Move;

////////////////////////////////

//set to rotate tool
setToolTo $gRotate;

//change it to local
manipRotateContext -e -mode 0 Rotate;

//Change it to global
manipRotateContext -e -mode 1 Rotate;


Also if you hold down the left mouse button and hold down the "W" key, you'll get a marking menu where you can change it. Same goes for all the manipulator handles.

flouie
07-13-2006, 12:34 AM
Thanks NolanSW. This is perfect!

vipertatsu
07-13-2006, 09:22 AM
Alternatively, hold 'w' and left mouse click to bring up a marking menu for all
move tool settings.

This also works with 'e' for scale and 'r' for rotation!

flouie
07-29-2006, 11:55 PM
Hey, that works pretty good too. Thanks.

CGTalk Moderation
07-29-2006, 11:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.