Set parameter expression / bind / constant
set_parameter_expressionAssign expressions, bind expressions, or constant values to node parameters. Modes include resetting defaults and unbinding drivers, with fail-forward batch processing.
Instructions
Set one or more parameters on a node to an expression, bind expression, or constant value without needing the raw-Python escape hatch. Supports five modes: 'expression' (par.expr = ...), 'bind' (par.bindExpr = ...), 'constant' (par.val = ...), 'reset' (restore the parameter default via par.reset()), and 'unbind' (freeze the current evaluated value as a constant, dropping the driver). Multiple assignments are applied fail-forward — per-item failures accumulate as warnings so a partial batch still returns useful results. Batches using reset/unbind run through the exec path and require TDMCP_BRIDGE_ALLOW_EXEC=1. Use this instead of execute_python_script when TDMCP_RAW_PYTHON is off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path of the node whose parameters to set. | |
| assignments | Yes | One or more parameter assignments. |