Substance 3D Painter Python API

Discover and learn about the Python API integrated into Substance 3D Painter.
The Python API gives you the ability to manipulate Painter in many ways: create plugins, create and export projects, configure resource locations, and more.
{width="600px"}

Technical documentation

To look up specific details about modules or packages in the API, start here.

Tutorials

  • Create a Python plugin — This step-by-step guide shows how to create a simple Python plugin that lets you export channels from a Texture Set using a specific export preset.
  • Load external Python modules — Learn how to use external modules with the Python integration by using the PYTHONPATH environment variable.
  • Load external Python plugins — Learn how to use an environment variable to define an additional location to load Python plugins.

Examples

recommendation-more-help
substance-3d-dev-help-painter-python-guide