Substance 3D Painter Python API

Learn and discover the Python API integrated inside Substance 3D Painter.

The Python API allows to manipulate Painter in many ways, allowing to create and export projects, configure resource locations and more.

Check out the API to get a listing of all the functionalities available. The Turorials are also a great way to start and build custom plugins.

  • Creating a Python pluginThis step by step guide describes how to create a simple Python plugin that allows to export channels of a Texture Set with a specific export preset.
  • Loading external Python modulesThis page shows how to use external modules with the Python integration by using the PYTHONPATH environment variable.
  • Loading external Python pluginsThis page explains how to use an environment variable to define an additional location to load Python plugins.