Lost Adventurer, Aleks Kirilenko (3D)
LC #42 Pipers Alley

View Full Version : copy paste keys on joints

04-30-2009, 09:24 PM
I have two duplicate bound geo, with same joints, one animated, one not, and am
trying to copy/paste keys from animated one to the other.
I have two array variables, one with animated joints, and the other.
run a script


copyKey $animJnts[$i];
pasteKey $targetJnts[$i];

doesn't error, but doesn't copy animation across, can anybody help?

05-01-2009, 06:46 PM
it looks like you are missing some flags in your copyKey and pasteKey commands. you should specify a time range and attribute at the least.

you could also look into duplicating/connecting the animation curve nodes instead of using copy and paste.

CGTalk Moderation
05-01-2009, 06:46 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.