22
$\begingroup$

Sorry for a simple question, but I have animated the movement of a door; just a movement of the X axis. Turns out I'll do this in code instead, so I want to delete this animation. How do I delete an animation completely from an object?

For that matter, at this point I could just as well delete everything animation related, so any hint of how to do that would be OK.

$\endgroup$
1
  • $\begingroup$ This is one of the most confusing aspects of blender. I have been using blender for 17 years not an I still the whole, "Materials,Textures.Actions, Poses." creation and deletion process confusing. I know it has something to do with " the object oriented nature of blender" but that is for programmers, not hobbyist/artist like me. $\endgroup$
    – Shaba1
    Commented May 10, 2018 at 21:38

8 Answers 8

28
$\begingroup$

The fastest way I know to delete all the animations of an object:

  • Select object
  • Press Spacebar or F3
  • Type "Remove anim"
  • The menu item "Remove Animation" will appear.
  • Using keyboard, select that menu item and press Enter or Return.

V2.8+ : Alternatively after selecting the objects, go to Object > Animation > Clear Keyframes, and click again on the prompt asking you to Remove Animation.

I do this often. I wish I knew an even faster way. This way, you only need one mouse click, to select the object.

$\endgroup$
1
  • 3
    $\begingroup$ I'm in Blender 2.9 and pressing space bar plays the animation $\endgroup$ Commented Sep 5, 2020 at 14:10
8
$\begingroup$

Deleting animation of specific property:

You can also right click on the animated value and click clear keyframes to automatically delete all keyframes on that value.

enter image description here

In the case of a transform channel, clear keyframes will clear the keyframes of the X Y and Z. If you only want to delete all the keyframes on one channel, right click on that channel and select Clear single keyframe.

Deleting all animation:

Go to the dopesheet or graph editor, make sure that the show keyframe on selected objects only option (cursor icon) is disabled and that show keyframes on hidden objects (ghost icon) is enabled, press A to select all, and then press X or ⌦ Delete.

enter image description here

$\endgroup$
0
7
$\begingroup$

A scripting approach, the following will clear all animation data from all selected objects.

import bpy

context = bpy.context
for ob in context.selected_objects:
    ob.animation_data_clear()

Replace context.selected_objects with context.scene.objects for all in the current scene, or bpy.data.objects to remove all animation data from all objects.

$\endgroup$
4
  • $\begingroup$ Good idea to post this here. Should we add how to remove the current keyframe only? $\endgroup$
    – p2or
    Commented Dec 16, 2015 at 17:05
  • $\begingroup$ It's the scripting equivalent of @megtwin 's answer, removing all animation data, as requested in q.. so I say no as to adding specifics like keyframes or nla strips. $\endgroup$
    – batFINGER
    Commented Dec 16, 2015 at 17:11
  • $\begingroup$ You are right, just thought it would be nice to have :) $\endgroup$
    – p2or
    Commented Dec 16, 2015 at 17:17
  • $\begingroup$ Beautiful... very done ! $\endgroup$ Commented Sep 23, 2021 at 10:50
6
$\begingroup$

You can also go to the outliner, click on armature, right click on animation and select "Clear animation data". :)

$\endgroup$
5
$\begingroup$

Select any keyframe in the timeline, or similar, and press Alt + I. To check that a keyframe is selected, the frame number in the bottom left is orange (in the default theme); You can also press the highlighted button to jump to the next keyframe, or Up Arrow and Down Arrow.

enter image description here

$\endgroup$
1
$\begingroup$

For my situation, I have several animations attached to a model. One for walking, one for running. Each part of the model has its own set: [leftfoot]Walk, [leftfoot]Run, etc...

The quickest way to remove them all was to go to the NLA Editor and they are all listed there to be easily deleted. This first requires you to use the solution of @user14463 to clear the current model's animations for all parts.

Next, open the NLA Editor and all the animations are listed there. Select each one, and press X to delete it.

enter image description here

However, I found that this does not always work.... for some reason I just cannot get rid of these actions, and they seem to multiply when I do things like copy objects around, and they end up with phantom objects referring to them.

So, an easy way to get rid of an action is to open the python console.

For example, I had the following actions:

  • [StomperChassis]Walk
  • [StomperChassis]Walk.001
  • [StomperChassis]Walk.002
  • [StomperChassis]Walk.003

I don't know where the .001, .002, and .003 versions came from, but I don't want them!

In the console:

# Get the collection of actions
actions = bpy.data.actions

# Print all the action names
for actionname in actions.keys():
    print(actionname)

# (printout omitted)
# And now, remove action "[StomperChassis]Walk.001"
actions.remove(actions['[StomperChassis]Walk.001'])

# Done!
$\endgroup$
0
$\begingroup$

For me the best and easiest way was to simply go to menu Object > Track > Clear and Keep Transformation (Clear Track)

You can also find this option by typing it after pressing F3

$\endgroup$
0
$\begingroup$

Go to nonlinear animation window(not have default keybinding for it).

  1. Left click on Track > Edit Tab > Delete Tracks
  2. Go in Dope Sheet select Action Editor and choose any track you do not like, and uncheck it under Fake User (shield icon filled with white, if filled - click on it). If track owner is not Fake User (shield icon not filled) you can do nothing.
  3. Save changes.
  4. Restart Blender (or just reopen your blend file) and enjoy your animation list clean from unwanted animation tracks.
$\endgroup$

You must log in to answer this question.

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