maya script to delete animated rotation values


#1

Hi guys,

In an effort to optimize my workflow, I thought it would be nice to have a script that could remove rotation keys that I could bind to a hot key, Please note I do not wish to set the rotation values to zero, but simply remove the keyframe on the selected object on the selected frame. I did some searching online and wasn’t able to find anything like that. Does anyone know how I might achieve this? Thanks!


#2

I think you want to use the “cutKey” command with the “clear” flag set to True.