Execute Mel
execute_melEvaluate MEL commands in Maya for custom or unsupported operations. Control undo grouping, timeouts, and target specific sessions.
Instructions
Evaluate a MEL command inside Maya (escape hatch).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | MEL command to evaluate. | |
| undo | No | Wrap execution in a single undo chunk (default True). | |
| timeout_s | No | Timeout in seconds (1-3600). | |
| session_key | No | Target Maya session; omit if only one is connected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||