PDA

View Full Version : reverse clip with Mel


bontempos
12-08-2007, 02:11 AM
How do I reverse the scale of a clip using mel?

I couldnt find how to enable timewarp using script so I can set keyframes to this property.
I couldnt scale the clip to -1 as I have read in other forums.

Please help.
Thanks a lot
Anderson

GiantG
12-08-2007, 08:58 PM
Select your Animated Object.

doCreateClipTimeWarp {"clip1"} true;
selectKey -add -k -t 0 -t 100 clip1_timeWarp;
scaleKey -iub false -ts -1 -tp 100 -fs -1 -fp 100 -vs 1 -vp 0 -animation keys;
keyframe -e -iub true -r -o over -tc -100 clip1_timeWarp;

Greetz

bontempos
12-09-2007, 12:05 PM
Great!! ;)
Thanks you very much!


Anderson

CGTalk Moderation
12-09-2007, 12:05 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.