Answered
Using Python to develop Export tool
I I write according to the contents of the document, but in the export phase. Export presets need to be configured.
export_preset = substance_painter.resource.ResourceID(
# context="allegorithmic", name="PBR Metallic Roughness")
context="allegorithmic",
name="SP—UE4 Tile UDIMs(TextureSet)")
I created a set of presets based on the documentation,the name is SP—UE4 Tile UDIMs(TextureSet) .When I try to use this preset in my code,Code execution error.
[Python] For exportList item #0, the preset "resource://allegorithmic/SP—UE4 Tile UDIMs(TextureSet)" is undefined
How do I use local default files with python
