-
removing keyframes in a script
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);
}
Sorry, there were no replies found.