link_parameters
Links a source parameter to a destination via a relative HScript expression, so the connection survives node moves and prevents cycles. Refuses to overwrite keyframes unless replace_existing is true.
Instructions
Create a channel reference from one parameter to another.
The destination gets an HScript expression that reads the source as its own type: chs() for a String parameter, ch() for numbers, toggles and menus. The path is relative to the destination node (chs("../CTRL/mat")), so the link survives moving the pair, collapsing into a subnet or instancing an HDA. The reply carries the expression, the function used and the destination's evaluated value.
Args: source_path: Source node path. source_parm: Source parameter name. dest_path: Destination node path. dest_parm: Destination parameter name. replace_existing: Overwrite a destination that already has keyframes or an expression. Refused otherwise, so animation is never lost by accident. A link whose source already reads the destination through ch() is refused as a cycle in every case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_parm | Yes | ||
| dest_path | Yes | ||
| source_parm | Yes | ||
| source_path | Yes | ||
| replace_existing | No |