ScriptSpot

Script

Delete static keys - cleanup tracks/fcurves - HeckTools

By AutodeskLadATL · 2019-01-16

Version
1.1
Date updated
2019-05-07
Votes
6
Description

Hi All

This is intended to help cleanup your track view/graph editor for animating.

script removes all static keyframes excluding the initial key. essentially this acts similarly to the Maya feature "delete all static channels".

Also, it goes through and cleans up the tracks that have extra static keys that are in between your other animation keys leaving the animation in tact, but yielding a cleaner view of the chaos spaghetti.

leave feedback if you try the tool.

*05.07.2019* update - included the missing parentheses "(" and ")"

Attachments

Tags: Animation, cleanup, keyframes, Keys, remove, Curves, delete, channels, static, tracks, fcurves, graph editor

Comments (8)

NICE Script

selmi3D · 2019-08-27

thanks! it´s works fine in max 2020

Congrats!

bontempos · 2019-05-10

Thanks for this!! Talking about Maya, I am now missing also the "normalize" function on the curve editor

FOR ALL OF YOU WHO GOT THE ERROR - READ THIS COMMENT

Swahn · 2019-01-25

The script is missing parenthesis under the macroscript construct.

To fix this you need to add a ( under the line

buttonText:"StaticKeyCleanup"

and you need to add a ) at the end (bottom) of the whole script.

AutodeskLadATL · 2019-05-07

thank you for commenting. I realized after I uploaded and forgot to update it here. script should now include the proper parentheses

what's wrong?

aksmfakt132 · 2019-01-21

-- Error occurred in anonymous codeblock; filename: C:\Users\PC22\Downloads\removestatickeys_hecktools.ms; position: 505; line: 17
-- MAXScript FileIn Exception:
-- Syntax error: at function, expected (
-- In line: fn g

Swahn · 2019-01-21

The script is missing parenthesis under the macroscript construct, meaning that you need to add a ( under the line

buttonText:"StaticKeyCleanup"

and you need to add a ) at the end (bottom) of the whole script.

darwin · 2019-01-19

Excelent!