1
$\begingroup$

Is it possible to enable or disable the "use Sequencer" checkbox via the CLI render command? There's no command line argument for that, but is there an easy way to decide at rendertime whether to use it or not? (Blender pre-2.8)

enter image description here

$\endgroup$

1 Answer 1

2
$\begingroup$

You can include a script in the CLI and include the folowing lines:

bpy.context.scene.render.use_sequencer = False
bpy.context.scene.render.render()

Use the -P <filename> switch to load desired python script.

$\endgroup$
3
  • $\begingroup$ Can that Python script also reside within the Blender file as a text block, so no external dependency is needed? $\endgroup$
    – tobkum
    Oct 17, 2019 at 11:10
  • $\begingroup$ See this answer $\endgroup$
    – Moog
    Oct 17, 2019 at 11:14
  • $\begingroup$ Thanks! Solved my issue $\endgroup$
    – tobkum
    Oct 17, 2019 at 11:26

You must log in to answer this question.

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