disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

Python API

The Designer Python API lets you execute Python code within a running Designer session via a REST endpoint. This gives programmatic access to almost every object and property in a Designer project — from tracks and layers to projector settings and stage objects.

How It Works

Your application sends Python code to a Designer session’s /api/session/python/execute endpoint. Designer runs the code in its embedded Python 2.7 environment and returns the result. This can be triggered from a plugin UI, a script, or any HTTP client.

For the full endpoint reference, see the Execution API.

For details on the runtime environment, available utilities, and restrictions, see the Environment page.

What You Can Do

The Python API exposes the d3 package, which provides access to Designer’s internal object model. Common tasks include:

Guides

Practical guides covering common workflows with code examples:

Reference