Substance 3D Painter Python API

Learn and discover the Python API integrated inside Substance 3D Painter.
The Python API gives you the ability to manipulate Painter in many ways: create and export projects, configure resource locations, and more.
{width="600px"}
NOTE
The API documentation is currently being overhauled and will be available soon. For the time being, the tutorials below can help you get started.

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.
recommendation-more-help
substance-3d-dev-help-painter-python-guide