Author Topic: Python SBSRender parameters  (Read 2775 times)


I'm trying to use the sbsrender_render function of the batchtools in the SAT API.
I'm having trouble to understand how I should pass parameters to the .sbsar.

Is it possible to have an exemple of how the parameter should be formatted ?

Here is the error I recieve:

Code: [Select]
[ERROR][SBSRender]Input file "D:\SubstanceRender\PBR_Ready_Albedo\PBR_Ready_Albedo.sbsar set_entry diffuse@D:\SubstanceRender\CorrectedTextureSet\STP_MF_Backpack_001_T05.png" cannot be read : La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.

I have found the documentation a bit vage at this subject

Thanks in advance,


Hi, you can get some more details about it by looking at the example files provided with SAT.
They should be located in "C:\Users\XXX\Documents\Allegorithmic\Substance Automation Toolkit".

Here is a command example (let us know if you still have troubles):
Code: [Select]
sbsrender.exe render --inputs "c:\my_file.sbsar" --set-entry my_input_name@"c:\my_image.png" --output-path "c:\results"
Lead technical artist

Thanks a lot, with those exemple I understand what I need to do in order to use rendersbs function. :)