td_create_op
Create a new operator in TouchDesigner by specifying parent path and operator type, with optional name, parameters, and network position.
Instructions
Create a new operator in TouchDesigner.
Args: parent: Parent path (e.g. "/project1") op_type: TD operator class name (e.g. "noiseCHOP", "constantTOP", "textDAT") name: Optional name for the new operator params: Optional dict of parameters to set immediately after creation nodeX: Optional X position in the network editor. Use td_find_empty_space to get a non-overlapping position. nodeY: Optional Y position in the network editor. Use td_find_empty_space to get a non-overlapping position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nodeX | No | ||
| nodeY | No | ||
| params | No | ||
| parent | Yes | ||
| op_type | Yes |