• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Nov 25, 2022 Nov 25, 2022

Copy link to clipboard

Copied

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

 

 

 

TOPICS
Discussion , Import & Export , Scripting

Views

150

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 27, 2022 Nov 27, 2022

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources