Houdini 20.5 Nodes APEX nodes

graph::FindOrAddNode

Finds or adds a node to an APEX graph.

On this page
Since 20.0

Adds a node with a given name and callback node type to an APEX graph if the node does not already exist in the the graph. If the node already exists, the node ID of the node is returned.

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 node to.

name: String

The name of the node to add or find.

callback: String

The type of the node to add or find.

Outputs

*graph: ApexGraphHandle

The updated graph with the added node (the node is added if it did not already exist in the graph).

nodeid: ApexNodeID

The unique identifier, created at run time, that represents the node added or found in the graph.

exists_on_input: Bool

Returns True if the node already exists in the graph.

See also

APEX nodes