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 Answer 1

2
$\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$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.