FORUMS: list search recent posts

How to add keyframes in multiple Shape Paths within a main Shape Layer with script

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
John Kre
How to add keyframes in multiple Shape Paths within a main Shape Layer with script
on Aug 13, 2014 at 9:09:50 pm
Last Edited By John Kre on Aug 14, 2014 at 9:39:55 am

Hi there,

I'm currently working on a project that has hundrends of shape paths within many shape layers and I need to insert keyframe automatically for every "path" property that is included in each layer. It seems that there is no hotkey for the "path" property in order to make it appear. I managed to find the certain property and apply a keyframe to the first shape with the use of a script, but i can't find a way to do it to all of the shape paths within the Contents group. I guess there should be a way to do it with the "for" command.

app.project.activeItem.selectedLayers[0].property("Contents").property("Shape 1").property("Contents").property("Path 1").property("Path").addKey(0);

The only property that changes is the "Shape 1".

Thanks in advance!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]