31
Substance Automation Toolkit - Discussions - Re: SBSRender Multiple .sbsar
on: January 20, 2019, 05:17:32 pm
Hi,
In order to solve this you need to make some kind of script (python or batch file) to find all the files and invoke sbsrender on each of them.
If doing it using python I would recommend you look at either the os.walk function:
https://www.bogotobogo.com/python/python_traversing_directory_tree_recursively_os_walk.php
or glob:
https://docs.python.org/2/library/glob.html
In order to solve this you need to make some kind of script (python or batch file) to find all the files and invoke sbsrender on each of them.
If doing it using python I would recommend you look at either the os.walk function:
https://www.bogotobogo.com/python/python_traversing_directory_tree_recursively_os_walk.php
or glob:
https://docs.python.org/2/library/glob.html