Houdini 20.5 Nodes APEX nodes

geo::GlobPrims

Returns an array of primitives based on a pattern.

On this page
Since 20.0

Returns an array of primitives that match a pattern for the primitive numbers.

Inputs

geo: Geometry

The geometry that contains the primitives to query.

pattern: String

The pattern to use for matching the primitives.

The pattern format is the same as that used by the group parameters on various SOP nodes. Elements in the pattern are separated by spaces, and can be primitive numbers, primitive number ranges, or group names. See group syntax for more information.

ordered: Bool

If set to True, returns the primitives in the order that they are added to the group.

Outputs

prims: IntArray

The primitive numbers of the primitives in geo that match the pattern.

See also

APEX nodes