Question

The subject is clear from the header. I need to alter all keyframes of all properties of the particular layer. So for the access to keyframe in AE script comes through the property it animate, am I need to traverse through all possible properies, the layer could have? Or the layer object has a function like: "allKeyFrames()" or "AllAnimatedProperties()" - the way shortcut "U" works ))) thank you!

Était-ce utile?

La solution

You will have to loop through properties, but you can be helped by things like numKeys, which will tell you whether a property has keys or not, and perhaps propertyDepth, and also isModified. See scripting guide (esp. pages 124 and 149).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top