Action Maya
Execute Maya Python
Executes a Python script inside Maya via an HTTP request. ⚠️ Security Warning: This node executes arbitrary code and requires the Maya plugin to open a network port. Only use this on a secure, trusted
Node IDMayaExecutePythonAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Python Script script | textarea | Yes | — | The Python script to execute in Maya. The 'maya.cmds' module is automatically available. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | An incoming execution signal. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Response Body output0 | object | response_body | Emits the full JSON response body from the Maya server as a string. |
Status Code output1 | object | status_code | Emits the integer HTTP status code returned by the Maya server. |