Removing Keyframes with a Script.

Removing Keyframes with a Script.

Hi Everyone,

Now I'm not a scripting person but I would like to know if it is possible to write a script that would remove all keyframes from all objects in the scene that have a particular tag. It is easy enough to add a custom tag to each object that I want to remove keyframes from, I could use Martin's Physics.JS example for that, but could someone tell me if it is possible to write a script that would remove the keyframes?

Regards

Chris
 
Hi,
f-curves and therefore keys can't be accesses via script yet. But that is on my todo list.

Kind regards,
Martin
 
Thanks Martin,

I think I've solved my issue now. I thought I needed to use Joints (Bones) to use the inverse kinematics tag, but after experimenting this morning I've again learned something new that the IK tag will work on all objects in a parent hierarchy so I no longer need to use bones.

Chris
 
Back
Top