Connect PCG Nodes
Wire one PCG node's output pin to another's input pin, and VERIFY the edge exists afterwards. PCG drops an edge silently when a pin label does not match, so an unverified connect is worthless. Use 'input' or 'output' to reach the graph's own pins.
hf_connect_pcg_nodesWriteArguments
| Name | Type | Description |
|---|---|---|
from_nodereq | string | Source node_id, or 'input' for the graph input node. |
from_pinreq | string | Source pin label, e.g. Out. Exact labels come from hf_list_pcg_nodes. |
graphreq | string | PCGGraph asset path. |
to_nodereq | string | Target node_id, or 'output' for the graph output node. |
to_pinreq | string | Target pin label, e.g. In. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
Related tools
Also in PCG: