Author Topic: [Javascript] Import mask in script  (Read 263 times)


I try to create a tool in Javascript for Substance Painter 2019 to export / import masks (like this
I export masks using and I don't find an "inverse" function to import masks I just exported.

Coralie Goldbaum.

You can import files with the import functions in alg.resources. You won't be able to assign them in the Layer Stack directly however as we don't have any API exposed for that.
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.