Set parameter expression / bind / constant
set_parameter_expressionSet one or more parameters on a TouchDesigner node using expression, bind, constant, reset, or unbind modes. Supports multiple assignments with per-item failure handling.
Instructions
Set one or more parameters on a node using five modes: 'expression' (par.expr = ...), 'bind' (par.bindExpr = ...), 'constant' (par.val = ...), 'reset' (restore the parameter default), and 'unbind' (freeze the current evaluated value as a constant). Caller-supplied expression/bind text requires TDMCP_RAW_PYTHON=on and TDMCP_BRIDGE_ALLOW_EXEC=1. In restricted mode, constant/reset/unbind use the structured endpoint and remain available on a current bridge. Multiple assignments are applied fail-forward — per-item failures accumulate as warnings so a partial batch still returns useful results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path of the node whose parameters to set. | |
| assignments | Yes | One or more parameter assignments. |