Notifications
Clear all

[Closed] delete scale keys on selection of objects

I don’t know much maxscripting but I use scripts often and attempt to understand things through the listener. Does anyone know if there’s a simple way to kill off scale key frames from a selection of objects?

3 Replies

or another trick which I realized was since those keys were all flat, I just added an animation layer and worked on top without needing to remove keys.

(
 	for obj in selection do
 	(
 		deleteKeys obj.scale.controller
 	)
 )

You can get more info by checking the MAXscript reference for deleteKeys

Thanks Jason! deleteKeys… I was searching the maxscript help for keys and scale keys to no avail. I’ll check it out.

Thanks