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

Python Substance Painter Texture Export Error

New Here ,
Aug 25, 2021 Aug 25, 2021

I followed the document and copied the code verbatum:
https://substance3d.adobe.com/documentation/spdoc/creating-a-python-plugin-197427756.html#section5

When I run the scrypt I get this error:

[Python] resource://allegorithmic/PBR Metallic Roughness
[Python] Traceback (most recent call last):

[Python] File "C:/Users/chasmll/Documents/Adobe/Adobe Substance 3D Painter/python\plugins\custom_export.py", line 55, in export_textures

[Python] substance_painter.export.export_project_textures( config )
[Python] File "C:/Program Files/Adobe/Adobe Substance 3D Painter/resources/python/modules\substance_painter\export.py", line 195, 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://allegorithmic/PBR Metallic Roughness" is undefined

I have the most current version of substance painter, is this document out dated? 

523
Translate
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 ,
Sep 02, 2021 Sep 02, 2021
LATEST

Same probleme.
but with the old SuptancePainter version  6.2.2 it's working

Translate
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