Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • $\begingroup$ When I tried what you suggested i got: TypeError: Sequences.remove(): error with argument 1, "sequence" - Function.sequence expected a Sequence type, not str -- So I tried bpy.context.scene.sequence_editor.sequences.remove(eval(effName)) and got: File "<'string>", line 1, in NameError: name 'eff000' is not defined -- I assume this means I need to use: bpy.context.scene.sequence_editor.sequences_all -- How do I do that? $\endgroup$ Commented Sep 11, 2019 at 7:22
  • $\begingroup$ I assumed that effName contains the return value of sequences.new_effect as shown in your example above. Store the return value of sequences.new_effect and pass that value to sequences.remove. $\endgroup$ Commented Sep 11, 2019 at 7:24
  • $\begingroup$ I have tried every possible iteration I can think of for sequences.remove; see the notes in my question. None of them work. What am I missing? $\endgroup$ Commented Sep 11, 2019 at 7:39
  • $\begingroup$ @batFINGER, any insight? $\endgroup$ Commented Sep 11, 2019 at 7:52
  • 1
    $\begingroup$ @mcgeo52 That doesn't really change the approach though. I have added an example to my answer that should make things more clear. $\endgroup$ Commented Sep 11, 2019 at 8:41