Houdini 20.5 Nodes APEX nodes

graph::ConnectInput

Connects two APEX node ports that are on the same nesting level of a graph.

On this page
Since 20.0

Connects two APEX node ports that are on the same nesting level of a graph, for example, in the same top-level graph, or in the same subnet. The ports must be from two different nodes. srcport is the output port of one node, and dstport is the input port of another node.

Note

A port ID is unique within a graph, including the ports within nested subnets.

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 ports to connect together.

srcport: ApexPortID

The output port of a node. Connecting this port to another input port results in srcport's calculated result being forwarded to the next node.

dstport: ApexPortID

The input port of a node. Connecting an output port to this port results in dstport using the calculated result of the source as its input value.

Outputs

*graph: ApexGraphHandle

The updated graph with the added wire connection.

See also

APEX nodes