Move Axis Hotkey for Maya

I have┬áthis small snippet of code (MEL) to make changing the Move tool’s axis from ‘World’ to ‘Local’ quicker. It’s best used by setting it as a hotkey under ‘Hotkey Editor’ – I use the ‘M’ key. It’s so much easier to change the move axis by just pressing a key and it’s surprising how much time it saves.

Copy the code into a text editor as plain text before you past it into Maya otherwise you’ll get an error.

int $MoveAxis = `manipMoveContext -q -mode Move`;
if ($MoveAxis == 0) { manipMoveContext -e -mode 2 Move;
print "World move axis has been set"; } else if ($MoveAxis == 2) { manipMoveContext -e -mode 0 Move; print "Object move axis has been set"; }

Also see how to create a Rotate Mode Hotkey here.

Posted in Animation, Uncategorized Tagged with: , , ,
0 comments on “Move Axis Hotkey for Maya
1 Pings/Trackbacks for "Move Axis Hotkey for Maya"
  1. […] few months ago I posted this code snippet to automate switching between move axis settings in Maya. I also find myself switching between local and gimbal rotation modes a lot.. especially when […]

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


David Talloy Thomas

Greetings! I'm David Thomas, a 3D animator from the UK. Now I live and work as an animator in Paris. I'll use this blog from time to time to as a sketchbook and talk about animation or what I'm up to. Check out my showreel if you've got a minute and drop me a comment or message if you want to chat! student