Skip to main content
Participant
August 7, 2025
Question

Is there any way to fetch the Output Template and Output Directory programatically?

  • August 7, 2025
  • 0 replies
  • 78 views

Scenario - We want to batch re-export a large number of Substance Painter (.spp) files.

 

The files have Output Directory and Output template settings saved into the file (presumably as metadata of some sort) which is shown under the "General Export Settings" in the export UI. However this data doesn't appear to be exposed to plugins or other scripts.

 

If a user goes into "Export Textures" they can easily see the output template "(from cache") and output directory there and re-export manually. I would expect the same to be possible via code.

 

Is there any way to access the values references by these fields so we can lightly modify them and then perform a re-export that is mostly identical to the last export?