Author Topic: Couldn't run samples  (Read 505 times)

Hi, I am new to SAT and just download it today. I managed to get it installed(I think) but when I tried to run demoworld.py it didn't give me the result that shown on the Instruction. There is no .sbs being saved as well. Please helpTT
(I am using python 2.7)

Have you checked C:/Program Files/Allegorithmic/Substance Automation Toolkit/Python API/Pysbs-2019.3.0/pysbs_demos/sample/resultHelloWorld.sbs to see if the modified timestamp has been updated after running the script?

demohelloworld.py
Code: [Select]
if __name__ == "__main__":
    destFileAbsPath = python_helpers.getAbsPathFromModule(sys.modules[__name__], 'sample/resultDemoHelloWorld.sbs')
    demoHelloWorld(aDestFileAbsPath = destFileAbsPath)