Set Text DAT source
td_set_dat_textReplace the body of a Text, GLSL, Script, or callback DAT in TouchDesigner via its absolute operator path. Optionally specify expectedText to conditionally overwrite only when current content matches.
Instructions
Replace a Text DAT, GLSL DAT, Script DAT, or callback DAT body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute TouchDesigner operator path, for example /project1/visuals/noise1 | |
| text | Yes | ||
| expectedText | No |