td_create_node
Add any TouchDesigner operator type to a parent path, with custom name and position.
Instructions
Create a new TouchDesigner operator of a given type under a parent path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Custom name for the new node. If None, TD assigns a default name. | |
| nodeX | No | Horizontal position in the network editor (pixels). Use multiples of 200 for clean spacing between nodes. | |
| nodeY | No | Vertical position in the network editor (pixels). Use multiples of 200 for clean spacing between rows. | |
| node_type | Yes | TouchDesigner operator type to create. Examples: TOPs: 'noiseTOP', 'levelTOP', 'nullTOP', 'compositeTOP', 'feedbackTOP', 'moviefileinTOP' | CHOPs: 'waveCHOP', 'noiseCHOP', 'nullCHOP', 'mathCHOP', 'constantCHOP', 'selectCHOP' | SOPs: 'sphereSOP', 'boxSOP', 'gridSOP', 'lineSOP', 'nullSOP', 'transformSOP', 'noiseSOP' | DATs: 'textDAT', 'tableDAT', 'scriptDAT', 'nullDAT', 'selectDAT', 'chopexecDAT' | COMPs: 'baseCOMP', 'containerCOMP', 'geometryCOMP', 'cameraCOMP', 'lightCOMP' | MATs: 'pbrMAT', 'phongMAT', 'wireframeMAT', 'constMAT' | |
| parent_path | No | Path to the parent COMP where the node will be created | /project1 |
| include_hints | No | If True, attach a ``hints`` block sourced from td_get_hints for the chosen op_type. Auto-injection still fires for high-risk op_types (feedbackTOP, glslTOP, geometryCOMP, …) regardless of this flag. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |