Skip to content
Jigwright

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_nodesWrite

Arguments

NameTypeDescription
from_nodereqstringSource node_id, or 'input' for the graph input node.
from_pinreqstringSource pin label, e.g. Out. Exact labels come from hf_list_pcg_nodes.
graphreqstringPCGGraph asset path.
to_nodereqstringTarget node_id, or 'output' for the graph output node.
to_pinreqstringTarget pin label, e.g. In.
forceboolean
= 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.

Also in PCG: