Author Topic: Local cache directory in preview Options  (Read 202 times)

Hello world! :)
I'm a passionate student in VFX and I begin to learn Python.
Currently, I want to change the path of the "local cache directory" in the preview Option ("setting" window ). But I don't find how to do that with Python.

My questions :
How can I change this path?
is there any env var for this path?
Has anyone an idea to make this change?

I have Substance Painter 19.

thanks for your help. Have a good day :)

As far as I know, you can't change that with a script yet. Scripting APIs in Painter only provide bare bones functions. It will hopefully change now that they added Python.

This path isn't exposed, you can only change it by editing the application settings. Their location depends on the system, see: https://docs.substance3d.com/spdoc/application-preferences-location-147095594.html
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Fabrice Piquet aka Froyok. Product Manager, Technical Artist and Documentation at Adobe.