I am trying to render to a vector file using Freestyle. I have enabled it in my file and when I render to image via GUI, it generates both a PNG and an SVG file, so everything is OK. When I do it via command line (using the same file), it only generates the PNG file. This is the command that I'm using:
--background x.blend --python blender_script.py -E BLENDER_EEVEE -o C:\\tmp\vector.svg -f 0
In blender_script.py I'm only changing the line weight.
How can I get the SVG file via command line (or editing the python script)
EDIT: It started working with this exact command line after I restarted Blender (maybe then it saved the settings related to Freestyle when I closed it?)