Copy link to clipboard
Copied
I'm writing an automation tool that will process hundreds of .spp files and output textures from them based on our custom preset. For the most part everything is working.
The tricky part is that some of the assets have texture/color variations that are stored in grouped layers such as "0001" , "0002", "0003" etc. Only one of those groups is visible at a time, the rest are hidden.
I see no info about layers in the documentaion, is it possible to get access to document's layers, layer types, and their names? Is it possible to toggle their visibility? Ideally I want the tool to be able to toggle folders on and off and export each variation
Copy link to clipboard
Copied
Currently, this isn't possible to make changes to the layer stack, but this is definitely on the table, so stay tuned!
Best regards,
Copy link to clipboard
Copied
@Cyril Dellenbach thanks for the update. certainly looking forward to a more extensive python api 🙂
Copy link to clipboard
Copied
This is exactly what I'm looking for too, is there a timeline for shipping this? Thanks!
Copy link to clipboard
Copied
Hi @Keycap,
Unfortunately, I can't share any timeline, but I can tell you this shouldn't take too long.
Best regards,
Copy link to clipboard
Copied
Any updates on this? Hopefully next patch!
Copy link to clipboard
Copied
Any updates? The lack of python layer access is really holding back export automation in Painter.
Copy link to clipboard
Copied
I agree it is. However I still have no news on this regards. I know we're working on it, and I know this is fairly high in our priority list, but can't share anything more.
Regards,
Copy link to clipboard
Copied
Is there any updates
Copy link to clipboard
Copied
Hello,
With the 10.0 release, this is now possible to edit the Layer Stack !
Copy link to clipboard
Copied
Hello Cyril,
I work with python to export 2d View and since the version 9.0.1~ I am facing a dark shadow on the exported maps/images. My code is just like the "versioning plugin" code, but I have implemented loops and controls to get and enumarate single layers (basecolor layers).
Could you help me to eliminate these shadows from the exported files then I could update my substance? I am stuck in the version 9.0 because of this issue.
Thank you
Copy link to clipboard
Copied
Sorry, its my first time here. Here are what is happening:
Copy link to clipboard
Copied
Hi Cyril,
Is there any documentation about it ?
Copy link to clipboard
Copied
API (JS/python) only supprots few functionalities. Because officially sp is not hopped be extended by developer?