How to copy a keyframe ?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
SFR75
Posts: 17
Joined: April 3rd, 2007, 10:49 am

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 ?
Darkmoon_UK
Posts: 62
Joined: September 5th, 2006, 3:45 am
Location: Chiswick, London, UK
Contact:

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...
Post Reply