Houdini 22.0 Nodes Geometry nodes

Enumerate Pairs geometry node

Sets an attribute on selected points or primitives to sequential numbers or strings relative to two pieces of Geometry

Since 22.0

In the case where you have two pieces of geometry with matching and mismatching piece attributes, you may want to enumerate them consistently.

Geometry 1

Geometry 2

set1, set2, set3

set1, set3

The node will recognize that set2 does not exist on both geometries, and account for the offset needed in the output index attribute to skip it. The result will become:

Geometry 1

Geometry 2

4, 2, 5

4, 5

Parameters

Group

The group to set the attribute on.

Group Type

Whether the group contains primitives, points, or vertices.

Reference Group

The reference group to set the attribute on.

Reference Group Type

Whether the reference group contains primitives, points, or vertices.

Run Over

Which component type to run over.

Piece Attribute

The name of a string or integer attribute. This can be a point, primitive (face) attribute. This attribute is used to identify the different pieces across the source and reference geometry.

Include Pieces

The pieces to always include in the enumeration. This uses standard Houdini pattern matching.

Exclude Pieces

The pieces to always exclude from the enumeration. This uses standard Houdini pattern matching.

Attribute

The name of the attribute in which to store the index.

Geometry nodes