Disconnect node wire(s)
disconnect_nodesRemove input wires from a TouchDesigner node. Optionally specify the upstream node or input index to narrow removal.
Instructions
Remove one or more input wires from a node in TouchDesigner. By default removes every incoming wire into to_path; narrow the scope with from_path (only wires from that upstream node) and/or to_input (only that input slot index). Returns the list of removed wires (input index + upstream node path), a probe of the Connector API attributes seen at runtime, and any per-wire warnings. Fatal only when to_path is not found — partial removals with per-wire warnings still succeed. The inverse of connect_nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_path | Yes | The downstream node to remove input wire(s) from. | |
| from_path | No | Only remove wires coming from this upstream node. Omit to remove ALL input wires into to_path (scoped by to_input if given). | |
| to_input | No | Only clear this input index on to_path (0-based). Omit to clear all inputs. |