Houdini 22.0 Nodes APEX nodes

geo::NameToPrim

Returns the index of a primitive based on its name attribute value.

On this page
Since 22.0

Returns the index of a primitive based on its name attribute value. If no primitive is found, index is set to -1 and success is set to False.

Inputs

geo: Geometry

The geometry that contains the primitive to find.

name: String

The name attribute to find.

Outputs

index: Int

The index of the found primitive. An invalid index (-1) is returned if no primitive is found.

success: Bool

Returns True if a primitive is found.

APEX nodes