modify_node
Rename a node in Nuke and optionally update expressions that reference the old name, keeping compositing scripts consistent after changes.
Instructions
Rename a node. Checks for expressions that reference this node and optionally updates them to use the new name.
Args: name: current node name. new_name: new name to set. update_expressions: auto-fix expressions referencing the old name. default True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | current node name. | |
| new_name | No | new name to set. | |
| update_expressions | No | auto-fix expressions referencing the old name. default True. |