• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

Substance Painter Python API - access existing layers and groups?

Explorer ,
Mar 31, 2023 Mar 31, 2023

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

Dzmitry2918485967ds_0-1680296432811.png

 



TOPICS
Scripting

Views

910

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Apr 04, 2023 Apr 04, 2023

Hi @Dzmitry2918485967ds,

 

Currently, this isn't possible to make changes to the layer stack, but this is definitely on the table, so stay tuned!

 

Best regards,

 

Votes

Translate

Translate
Adobe Employee ,
Apr 04, 2023 Apr 04, 2023

Copy link to clipboard

Copied

Hi @Dzmitry2918485967ds,

 

Currently, this isn't possible to make changes to the layer stack, but this is definitely on the table, so stay tuned!

 

Best regards,

 

Cyril Dellenbach (Micro) | QA Support Artist | Adobe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 05, 2023 Apr 05, 2023

Copy link to clipboard

Copied

@Cyril Dellenbach thanks for the update. certainly looking forward to a more extensive python api 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 05, 2023 Jun 05, 2023

Copy link to clipboard

Copied

This is exactly what I'm looking for too, is there a timeline for shipping this? Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 14, 2023 Aug 14, 2023

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,

 

Cyril Dellenbach (Micro) | QA Support Artist | Adobe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 03, 2023 Sep 03, 2023

Copy link to clipboard

Copied

Any updates on this? Hopefully next patch!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

Any updates? The lack of python layer access is really holding back export automation in Painter.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

LATEST

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,

Cyril Dellenbach (Micro) | QA Support Artist | Adobe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 11, 2023 Aug 11, 2023

Copy link to clipboard

Copied

API (JS/python) only supprots few functionalities. Because officially sp is not hopped be extended by developer?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources