I need to save both the 'Combined' pass and the 'indexOB' pass. Is there a simple way to use it with Python? I set the path to save my render -
bpy.context.scene.render.filepath
I can also set the image mode:
bpy.data.scenes['Scene'].render.image_settings.color_mode = 'BW'
But how can I select the render pass?