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

adjust (fill layer) color via script

New Here ,
Jan 20, 2025 Jan 20, 2025

Is it possible to change the color value of a fill layer via python script? I'd like to use an array that stores color values, and export a texture set for each of the colors stored in the array.

TOPICS
Scripting
627
Translate
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

New Here , Jan 29, 2025 Jan 29, 2025

Thank you for your reply.

While I was already checking that folder and I cou;dn't find that part of the documentation, it turned out I was running an older version of Substance Painter.

After updating to V10 I found what I was looking for and managed to get it up and running pretty quickly.

Thank you for pointing me in the right direction by mentioning it was added in 10.0

Translate
Adobe Employee ,
Jan 29, 2025 Jan 29, 2025

Hello @Danny35546892lpyf,

 

Thank you for the question and sorry for the delay in response.

 

I'm not a Python expert, but I know this is clearly possible since we've added the Layer Stack module with 10.0 version.

 

In our Python's documentation (Help > Scripting Documentation > Python API) you'll find multiple helpful examples covering Fill Layers

 

CyrilDellenbach_0-1738147235230.png

 

You should start here: substance_painter package > Layerstack module

 

Best regards,

 

Cyril Dellenbach (Micro) | QA Support Artist | Adobe
Translate
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 29, 2025 Jan 29, 2025
LATEST

Thank you for your reply.

While I was already checking that folder and I cou;dn't find that part of the documentation, it turned out I was running an older version of Substance Painter.

After updating to V10 I found what I was looking for and managed to get it up and running pretty quickly.

Thank you for pointing me in the right direction by mentioning it was added in 10.0

Translate
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