I can pass Command Line Rendering Render .blend files based on paths.
blender -b "file path" -a
Next, I want to try doing it via bpy, I can render the current scene via bpy.ops.render.render(), but how do I get Blender Python to render the .blend file in the path?
import bpy
file_path = '/BlenderRenderScript_Test/model/02.blend'
Thank you for your help。
bpy.ops.render.render()but don't know how to render the files in the path. – HenDaSheng Apr 15 '22 at 11:05