0
$\begingroup$

I have imported bunch of .glb objects in the blender file. Every object has animation layer and NLA strip. I want to clear that layer of all the objects at once with the script.

How it works for single object: First select object and expand it in outliner. Then select its animation layer. Right click and clear animation data. This is the command. bpy.ops.outliner.animdata_operation(type='CLEAR_ANIMDATA')

I want the perform above operation for all the selected objects all at once.

$\endgroup$

1 Answer 1

0
$\begingroup$

Never mind. I found the trick. Just type 'animation' in search bar. Then select all the highlighted layers. Right click and clear animation data.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .