Script to create a Paint layer with all channels set to Pass through
Does anyone know if the current API for Substance Painter supports setting all channels in a paint layer to Passthrough. I do this a lot (when using the clone brush) and it would be a time saver to not have to switch to each channel and switch the mode from it's default to "passthrough". I have been wanting to get my feet wet in scripting with SP (scripting in 3ds Max has been a huge part of customizing and improving my workflow) but I could not find support in the API simply creating a new paint layer and setting each channel to passthrough. Actually, while texture sets are supported, I could not find any support for Layers or blendmodes at all. Probably I am just not looking in the right place, so if anyone can point me in the right diredtion I would appreciate it.
In pseudo code, my desired simple script would be something like:
Create New Paint Layer
for each existing channel in New Paint layer set blendmode to Passthrough
Any help would be greatly appreciated. Thanks in advance.

