Hey all, I wanted to touch on hot keys a bit.
I've seen a few posts lately about having to re-time things, and this being difficult when you have keys all over the place. Hot keys can help with this in ways you can't even image, if you have the right ones set up.
Specifically, I`m talking about the AddInbetween, RemoveInbetween functions within Maya. What these functions do is when you have a control selected with keys on it, if you are currently on frame 5, and you have keys on frame 10, 15 and 20, you can press a single button and ALL the keys after your current frame will shift by 1 frame. So if you press your AddInbetween button, your keys will now be at 11, 16, and 21. If you press your RemoveInbetween button, your keys will be at 9, 14, and 19.
Here's an example. Below is the original timeline.
Now I press my addInbetween key 5 times and my timeline now looks like
When I hit my removeInbetween 3 times, it will look like
This is all with 2 hot keys. A single button press. No going into the graph editor, selecting all the keys you want, and shift sliding them around. just grab your controls and button a key. This works for every control you have selected as well, so you can do all your controls at once. Super fast. Super convenient.
To setup the hot keys, if you wish to use them, at the
top of your maya, go to Window > Settings / preferences > Hotkey Editor.
You will see this window pop up.
On the left, find “User” (A) and on the right, click
New (B). Type in a name for the hotkey (C) with no spaces. Then in the blank
space below (D), You`ll type in the Mel commands which are as followed.
timeSliderEditKeys addInbetween; <---for inserting an empty frame
timeSliderEditKeys removeInbetween; <---for removing an empty frame
Press save (E). Now you just have to assign the actual hotkey (F). So type in
the key you wish to use in the “Key:” box. For example, if you want your hotkey
to be Ctrl + h, type in h in the box, then check the Ctrl modifier box. Hit
Query to double check (see below), then hit assign.
The query button will tell you what action your hot key is
assigned to, just so you don’t overwrite anything important. Most of the time,
you`ll be over writing actions you`ll never use as an animator, but it’s good
You`ll need to do this process for both, typing in only 1
line of code for each hot key.
I keep most of my hotkeys as default in Maya, but I have changed a few.
` (left of 1) = toggle playback. So pressing it will start my animation,
or stop it if already playing.
alt +1 =
= next key
alt + 2
= next frame
then my insert and remove frames are , and . since those are the default
next/previous keys. 1 and 2, by default, change the quality of a model, low or
medium. As an animator, I personally never use those keys.
I really hope this helps some of you. I know it made a huge difference in my workflow, and greatly increased my ability to fix my timing.
If you have any questions, feel free to ask! I`ll do my best to answer. And if you have any other hot keys that may benefit others, share them!