Houdini 20.5 Nodes APEX nodes

graph::GetConnectedPorts

Finds all ports that have a direct wire connection to a given port.

On this page
Since 20.0

Finds all ports that have a direct wire connection to portid, and returns an array of port IDs that represent the ports found. If portid is an input port, the output port that connects to portid is returned. If portid is an output port, all the input ports that portid connect to are returned.

Inputs

graph: ApexGraphHandle

The graph that contains the port to query for port connections.

portid: ApexPortID

The port to query for port connections.

Outputs

connected: ApexPortIDArray

An array of unique port identifiers, created at run time, that represent the ports connected to portid.

See also

APEX nodes