Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions removing keyframes in a script

  • removing keyframes in a script

    Posted by John Donley on May 20, 2010 at 12:46 am

    Hi Folks,

    I have written a script that removes all the keyframes on a layer (see below), but its sooooo slow. It seem like there should be a quicker way to get the job done. Any suggestions?

    John

    for ( var keyIndex = targetLayer.property.numKeys ; keyIndex > 0 ; keyIndex-- ) {
    tragetLayer.property.removeKey(keyIndex);
    }

    John Donley replied 16 years, 2 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy