0
$\begingroup$

Somehow? I seen Remove Animation action in action list(space), but was unable to call it on object I need. Console traced Cancelled so I think I did it wrong and called a ui method.

I seen animation_clear() method somewhere not sure if it's related

$\endgroup$
1
$\begingroup$
obj = bpy.data.objects["Cube"]
obj.animation_data_clear()

works fine, it seem to remove animation data, but doesn't update timeline immediately visually.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.