1
Substance Automation Toolkit - Discussions - Re: Python SBSRender - set multiple entries or values
on: February 18, 2019, 02:07:09 pm
Hi Julien,
To provide several entries you can feed a list to the parameter 'set_entry', in your case this should work:
batchtools.sbsrender_render(inputs=dir_path+'AutomationTest.sbsar',
output_format='png',
input_graph="AutomationTest",
input_graph_output="outputTexture",
output_path=dir_path+'output/',
output_name='test',
set_entry=['refTexture@'+dir_path+'ref.png','inputTexture@'+dir_path+'ref.png']
).wait()
Per your second question, are you talking of the parameter output-bit-depth that is available when calling "sbsrender render " command ?
To provide several entries you can feed a list to the parameter 'set_entry', in your case this should work:
batchtools.sbsrender_render(inputs=dir_path+'AutomationTest.sbsar',
output_format='png',
input_graph="AutomationTest",
input_graph_output="outputTexture",
output_path=dir_path+'output/',
output_name='test',
set_entry=['refTexture@'+dir_path+'ref.png','inputTexture@'+dir_path+'ref.png']
).wait()
Per your second question, are you talking of the parameter output-bit-depth that is available when calling "sbsrender render " command ?