How can I delete the cycle animation modifier on several objects at the same time? (as opposed to doing it one at a time)

  • $\begingroup$ I presume you mean the 'animation modifiers'? If so, make sure you make that clear in the question. They're quite different from regular modifiers. :) $\endgroup$ – Ray Mairlot Oct 14 '15 at 16:46

I wrote the following python script which should accomplish your mission (http://web.purplefrog.com/~thoth/blender/python-cookbook/remove-action-modifiers.html):

import bpy

def mission1(obj):
    if obj.animation_data is None or obj.animation_data.action is None:

    action = obj.animation_data.action

    for fc in action.fcurves:
        for mod in fc.modifiers:
            if mod.type == 'CYCLES':

for obj in bpy.context.selected_objects:

( Instructions for how to run the script inside blender )

One shortcoming of this script is that the fcurves window does not immediately update to display the alterations, although it does update when you start scrubbing the timeline.


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.