Houdini 20.5 Nodes APEX nodes

graphutils::NodeAncestors

Returns all the subnets that contain a given node.

On this page
Since 20.5

Returns the node IDs of the ancestor subnets of nodeid in hierarchical order. If the nodeid is invalid or the node is on the top level of the graph, an empty array is returned.

Inputs

graph: ApexGraphHandle

The graph that contains node to query.

nodeid: ApexNodeID

The node to query for the ancestor subnets.

Outputs

ancestors: ApexNodeIDArray

The node IDs of the ancestor subnets that contain nodeid, returned in hierarchical order.

See also

APEX nodes