Question
close() closes the substance painter instance
Im doing a script to process a list of .spp files, and at end of my script Im using substance_painter.project.close() to close the current file and repeat the process with the next file in the list but this command closes the Substance Painter instance and not the current file.
There is another way to process a bunch of files?
A strech of my script is:
for i in range (100😞
substance_painter.project.open(substance_painter_projects[i])
#do something
substance_painter.project.close()
#jump to the next file
