Author Topic: alg.mapexport.exportDocumentMaps error  (Read 277 times)

alg.mapexport.exportDocumentMaps('PBR MetalRough', alg.mapexport.exportPath(),'exr',{resolution:[1024,1024]})
return
 Exception ExportError: Error while decoding export options: Export preset 'PBR MetalRough' not found (:/js/mapexport.js line 24)

Am i missing something ?

Does the export preset exists if you look in the Export Window ?
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Froyok aka Fabrice Piquet, Technical Artist and Product Designer at Allegorithmic.

Yes

We have to give the full path "C:/Program Files/Allegorithmic/Substance Painter/resources/shelf/allegorithmic/export-presets/PBR MetalRough.spexp" to get it work