Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Same probleme.
but with the old SuptancePainter version 6.2.2 it's working
Find more inspiration, events, and resources on the new Adobe Community
Explore Now