Friday, 16 January 2015

Maya tips 007 - Hotkey for add and remove frame

This is a tip that i use the most especially during the blocking to get the timing of the shot just right. Basically this adds 2 Hotkeys to add a frame and remove a frame from the Timeslider, without having to select keys, slide things around in the dope sheet, or move keys around in the graph editor.


Here are the hotkeys script:

timeSliderEditKeys addInbetween;

timeSliderEditKeys removeInbetween;


Hotkey setup

1. Click Windows/Settings/Preferences/Hotkey Editor
2. Click "User".
3. Click "New".
4. Type in the name and description, copy and paste the script.
5. Choose the key to be assigned to this script.
6. Click save.




Use

1. Make sure it is at the frame in between the 2 keys. Press the assigned Hotkey.
2. If it is on 1s, then it has to be on the next frame when pressing the Hotkey.


Note

Make sure all the animated curves or object are selected before using the Hotkey, so that all adds or removes frame together. Also if there are different timing for different objects, the timing may be off when adding frames, so be very clear exactly what needs to add frames. 

Remember to save file before try this out! 

No comments:

Post a Comment