Animation - stepping through keys without Undo queue

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 01 January 2008   #1
Animation - stepping through keys without Undo queue

I'm still pretty new to Maya and I found it frustrating that when I'm animating, all of my previous and next key actions were being recorded in the undo history. This was obviously very annoying when after toggling through several keys back and forth I wanted to undo a key that was previously set (or whatever action you want to get rid of...)

I searched all over for this information but I couldn't find it. I came across the mel command "undoInfo" here and then created custom Next Key and Previous key Hotkeys to include it. I thought I would share this information in case people out there didn't know this was possible.

In the Hotkey Editor Window, go to Playback Control and add two new hotkeys. (I called mine "CustomNextKey" and "CustomPreviousKey". Place the following commands in each (not the underlined bit):

CustomNextKey Hotkey
undoInfo -swf off;
currentTime -edit `findKeyframe -timeSlider -which next`;
undoInfo -swf on;

CustomPreviousKey Hotkey
undoInfo -swf off;
currentTime -edit `findKeyframe -timeSlider -which previous`;
undoInfo -swf on;

Now just reassign the "." to your new Next hotkey and the "," to your new Previous hotkey and enjoy instant/predictable undos. Nice!

M.

Last edited by gonzalimator : 11 November 2008 at 10:15 AM.
 
Old 01 January 2008   #2
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:03 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.