ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Time Remapping in Script

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Geoff RightsTime Remapping in Script
by on May 17, 2016 at 6:53:07 pm

Hey All,

I've recently attached time remapping to a pre-composed layer and set up two key frames in my script. My question now is I have a 30 second video and i'm trying to mimic the functionality of dragging a key frame (ex. from 27 seconds to 1 second) in the GUI which would stretch a section of the animation from taking 3 seconds to complete to taking 29 seconds for the animation complete. Since im trying to set up automation I would like to do this in my script and not in the GUI but I cannot seem to find any documentation on how to do this.

Any help or examples would be very appreciated


Return to posts index

Walter SoykaRe: Time Remapping in Script
by on May 19, 2016 at 4:23:09 am

You cannot change the time of a keyframe directly with scripting; instead, you must add a new keyframe at the time you want with the value you want and remove the other keyframe.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]

Return to posts index

Geoff RightsRe: Time Remapping in Script
by on May 19, 2016 at 8:37:06 pm

Thanks for the writeup and explanation, I was completely overthinking the situation.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved