td_execute
Execute Python code directly inside TouchDesigner's main thread and optionally return a value from the execution.
Instructions
Execute Python code inside TouchDesigner.
Args: code: Python code to execute in TD's main thread return_expression: Optional expression to evaluate and return after execution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| return_expression | No |