Houdini 21.0 Nodes APEX nodes

graph::PortData

Gets the data for a port in an APEX graph.

On this page
Since 20.0

Gets the metadata of the port identified by portid in the graph.

Inputs

graph: ApexGraphHandle

The graph that contains the port to query.

portid: ApexPortID

The port to query for its data.

Outputs

name: String

The name of the port.

alias: String

The alias of the port.

datatype: String

The data type accepted by the port.

porttype: String

The connection type of the port. This could be either input or output.

isconnected: Bool

Returns True if the port is connected within the graph.

ispromoted: Bool

Returns True if the port is promoted to a graph input.

linkedport: ApexPortID

Returns the port that is “linked” to portid. portid is linked if:

  • It is a spare or in-place port. In this case, linkedport is set to the corresponding input/output port on the node. For example, if portid is set to the array output port below, linkedport will be set to the array input port:

  • It is an input or output port on a subgraph or subnet. In this case, linkedport is set to the corresponding external/internal port on the subgraph or subnet. For example, if portid is set to port a on the parms node below, linkedport will be set to port a on the subnet node:

    External ports on the subnet (left), subnet contents with the internal input and output ports (right)
See also

APEX nodes