Author Topic: Way to get list of layers in a texture set with python api?  (Read 175 times)

With the javascript api, we were able to get a list of layers in a stack, and export individual layers via 'alg.mapexport.save' commands.

With the python api, I'm having trouble seeing a way to be able to do this. We cannot do for example:

Code: [Select]
stack = substance_painter.textureset.get_active_stack()
layers = stack.layers

Any help would be very appreciated,
Cheers!