Houdini 20.5 Nodes APEX nodes

graph::PackSubnet

Packs an array of APEX nodes into a subnet.

On this page
Since 20.0

Packs an array of APEX nodes into a subnet, keeping all existing connections. It is important that the selection of nodes do not contain any holes, that is, all the nodes that have input and output dependencies to the node selection must be part of the node selection. Otherwise, a subnet cannot be constructed. All the input and output connections of the subnet are kept by automatically promoting the inputs and outputs within the 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 nodes to pack into a subnet.

subnetname: String

The name of the subnet to create.

nodes: ApexNodeIDArray

An array of nodes to pack into a subnet.

Outputs

*graph: ApexGraphHandle

The updated graph with the new packed subnet.

subnetnode: ApexNodeID

The node ID of the new subnet.

See also

APEX nodes