Connect To Maya
maya.connectConnect to Autodesk Maya’s commandPort to send Python or MEL commands from external tools.
Instructions
Establish a connection to Maya's commandPort
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Target host (localhost only) | localhost |
| port | No | Target port number | |
| source_type | No | Command interpreter type | python |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | Yes | ||
| error | Yes | ||
| connected | Yes |