Houdini 20.5 Nodes APEX nodes

graph::FindAndConnectInput

Connects two APEX node ports together.

On this page
Since 20.0

Connects two APEX node ports together with a wire - the output port srcname of node srcnode is connected to the input port dstname of node dstnode. The ports must be from two different nodes.

Both nodes must be in the same nesting level of a graph, for example, in the same top-level graph, or in the same subnet.

The graph ports of this node are in-place ports, which means that the graph is updated without creating a copy.

Inputs

*graph: ApexGraphHandle Required

The graph that contains the two node ports to connect together.

dstnode: ApexNodeID

The name of the node that the dstname input port is associated with.

dstname: String

The input port name on the dstnode node. Connecting dstname with srcname results in dstname using the calculated result of srcename as its input value.

dstalias: String

Deprecated

srcnode: ApexNodeID

The name of the node that the srcname output port is associated with.

srcname: String

The output port name of the srcnode node. Connecting srcname to a new input port results in srcname's calculated result being forwarded to the next node.

srcalias: String

Deprecated

variadic: Int

Deprecated

Outputs

*graph: ApexGraphHandle

The updated graph with the added wire.

success: Bool

Returns True if the connection is created.

See also

APEX nodes