Page 1 of 1

How to copy a keyframe ?

Posted: November 9th, 2007, 4:39 am
by SFR75
Is there an 'easy' way to copy a keyframe.
I'm writing a script, that should copy/paste selected keyframes
from one composition to another for multiple layers. The problem
I have is that in order to duplicate a frame, I need to recover it's
time, interpolation type, interpolation in, out, spacial in, out... and
I think there is still more to come. So, is there a way to recover all
properties and just copy them to another object ? Or I need to
create my own keyframe container and set/get all parameters ?

Posted: December 6th, 2007, 7:58 am
by Darkmoon_UK
I can't say for 100% theres no better way, but I have looked into this a few times myself. Get/Set does appear to be the only option...