Skip to main content
Participant
November 25, 2022
Question

[Python Script] Have trouble to export textures using python via Substance 3D Painter 8.2

  • November 25, 2022
  • 1 reply
  • 289 views

Hi, there

 

Currently, I'm using Substance 3D Painter 8.2 to do some export jobs. But I Found I couldn't use my previous code that worked perfectly before. 

 

I have already changed the 'shelf' to 'starter_assets'

 

Mention: I have to use my own template to export the texture. "myTemplate" is my template.

 

[Python]   File "C:\Program Files/Adobe/Adobe Substance 3D Painter/resources/python/modules\substance_painter\export.py", line 194, in export_project_textures

[Python] *_substance_painter.export.export_project_textures(json.dumps(json_config)))
[Python] ValueError
[Python] : 
[Python] For exportList item #0, the preset "resource://shelf/myTemplate" is undefined

 

 

 

This topic has been closed for replies.

1 reply

Participant
November 28, 2022

May someone just tell me how to do that in the new version of Substance Painter..... I have tried lots of methods and still doesn't work, it wasted me lots of time, god, please.