run_python
Run Python code in 3ds Max's embedded interpreter to automate tasks, modify scenes, or evaluate expressions. Captures output and returns results for immediate integration.
Instructions
Execute arbitrary Python inside 3ds Max's embedded interpreter
(pymxs available as rt). For an expression, its value is returned;
for a statement block, assign to a variable named result to return
something. stdout is captured and returned too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |