Frage

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!

War es hilfreich?

Lösung

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).

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top