revert_parameter
Restore a Houdini parameter to its default value by node path and name, reporting expression defaults or lock errors.
Instructions
Revert a parameter to its default value.
A default that is itself an expression comes back, named in
default_expression with its default_expression_language;
expression_error says when it does not evaluate.
A locked parameter cannot be reverted; the error names what sets the lock.
Args: node_path: Node path. parm_name: Parameter name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_path": "<node_path>",
"parm_name": "<parm_name>"
},
"name": "revert_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | ||
| parm_name | Yes |