i'm trying to access and change the filename of image strips in the sequencer for a little addon i'm developping, but i'm stuck with invalid syntax, i think, and i can't find the correct way to put that... Here's what i've got so far :
import bpy for scene in bpy.data.scenes: if scene.sequence_editor is not None: strip = scene.sequence_editor.sequences_all if strip is not None: for obj in strip: if obj.type == 'IMAGE': obj.elements.Sequence_Element.filename="ok"
But last line doesn't work... Does anyone have an idea about that ? Or know the correct way ? Thank you very much !