1
$\begingroup$

Is it possible to select all objects that have animation data (connected to transformation, object data, material, etc.)?

$\endgroup$
2
$\begingroup$

Here's a python script that selects all objects with animation data or that have materials with animation data:

import bpy

animated_objs = []

for material in bpy.data.materials:
    if material.animation_data:
        for obj in bpy.data.objects:
            for slot in obj.material_slots:
                if slot.material == material:
                    animated_objs.append(obj)

for obj in bpy.data.objects:
    if obj.animation_data:
        animated_objs.append(obj)

for obj in animated_objs:
    obj.select = True
$\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.