Houdini 21.0 Nodes APEX nodes

graph::FindUniqueNodeName

Finds a unique node name given the desired name.

On this page
Since 21.0

Given a graph, the desired node name, and optionally a subnet to look within, find a unique name by adding or incrementing the number at the end of the desired name.

Inputs

graph: ApexGraphHandle

The graph to search for nodes in.

name: String

The desired node name.

subnetid: ApexNodeID

Optionally, a subnet to search for node names inside. If unwired, will search the root level of the graph.

Outputs

name: String

The unique name, which is created from the input name by incrementing the number at the end, or appending a '1' if there is no number at the end if the input name is not unique.

See also

APEX nodes