Houdini 20.0 Nodes APEX Nodes

graph::FindNodes

Finds an array of APEX node ids in a given APEX graph based on a node pattern.

On this page
Since 20.0

Finds an array of APEX node ids in a given APEX graph based on a pattern. The given pattern must follow the rules of the Apex Path Pattern. This allows to find nodes based on various criteria such as node paths in combination wildcards, custom metadata such as the existance of certain node tags or properties.

Example of a node pattern with wildcards:

my_subnet/**/my_no*

Matches any descendants of the node subnet my_subnet with the node name my_node . This is doing a traversal through all nested subnets in my_subnet

Example of a node pattern with tags:

%tag(my_tag) & %tag(my_other_tag)

Match any node of any subnet in the given graph that has my_tag and my_other set in the tags metadata.

If no nodes can be found and empty array is returned.

Inputs

graph: ApexGraphHandle

The graph containing the node to be found.

pattern: String

The pattern to match the nodes by.

Outputs

nodes: ApexNodeIDArray

An array of unique node identifiers, created at run time, representing the found nodes in the graph.

APEX Nodes