About

     

process

     

work

     

Tutorials

     

Contact

Maya MEL Script: Insert “Blank” Frame

Scripts
Learn how to use a MEL script to insert new frames in an animation

Timecodes

Joe explains how to use a MEL script written for the storyboarding process used at Raconteur. It copies all the keyframes on a specified frame, then inserts a duplicate into the timeline to create a 2 identical sets of  keyframes.

Script:

select -r `ls -type animCurve`;
selectKey`ls -typ animCurve`;
setKeyframe;
timeSliderEditKeys addInbetween;
currentTime (`currentTime -q` + 1);
selectKey -clear;
selectKey -add -t (`currentTime -q`);
copyKey;
currentTime (`currentTime -q` – 1);
pasteKey -time (`currentTime -q`) -option merge;
keyTangent -itt auto -ott auto;
currentTime (`currentTime -q` + 1);

SAY HOWDY

howdy@raconteuranimation.com

512-489-0407

Made with love
in Austin, TX

Receive our newsletter

sign up here to be notified of new podcast episodes, events or other news 

By signing up, you are agreeing to our privacy policy.

RACONTEUR ANIMATION © COPYRIGHT 2023