Copy link to clipboard
Copied
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)")
[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
When building the resource ID you need to provide the right context. In the example "allegorithmic" is the name of the Shelf for the default content, your export preset is not stored there but instead in the location where you can save new resources (usually the user Shelf location named "shelf" by default).
Copy link to clipboard
Copied
When building the resource ID you need to provide the right context. In the example "allegorithmic" is the name of the Shelf for the default content, your export preset is not stored there but instead in the location where you can save new resources (usually the user Shelf location named "shelf" by default).