Author Topic: Getting the original mesh filename  (Read 816 times)

Hi,
Is it possible to retrieve the filename of the mesh that is being used by Substance Painter? Either via a QML Plugin when Painter is open, or via some other mechanism, like interrogating an spp file via command line?

Many thanks,
Andy

Apologies... literally just found the answer:

.../allegorithmic/substance-painter-2018.1.1/resources/javascript-doc/alg.project.html

lastImportedMeshUrl()

Out of interest though, is there a way of accessing this on the command line?

Out of interest though, is there a way of accessing this on the command line?
No, that's not possible.
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Fabrice Piquet aka Froyok. Product Manager, Technical Artist and Documentation at Adobe.