delete all keyframes on selected objects except keys on current frame


Is this possible?


this script delete all channels in every frame except the current one

float $currentKey = currentTime -q;
float $firstKey = findKeyframe -timeSlider -w first;
float $lastKey = findKeyframe -timeSlider -w last;
int $counter;
for($counter = $firstKey; $counter <= $lastKey; $counter ++) {

if($counter == $currentKey)
currentTime -e $counter;



Nevermind… I found a better way around my problem.


This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.