Houdini 20.5 Nodes APEX nodes

graph::AddSubnet

Adds a subnet node to an APEX graph, and sets the contents of the subnet.

On this page
Since 20.0

Adds a subnet node to an APEX graph, and sets the contents of the subnet using a second APEX graph, contents. The inputs and outputs of the new subnet are defined by the promoted inputs and outputs of the contents graph.

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 to add the subnet to.

contents: ApexGraphHandle

The graph contents for the new subnet.

subnetname: String

The name of the subnet node to add to the graph.

Outputs

*graph: ApexGraphHandle

The updated graph with the added subnet.

subnetnode: ApexNodeID

The node ID, a unique identifier for the subnet that is added to the graph.

See also

APEX nodes