Houdini 20.5 Nodes APEX nodes

geo::ForEachPrimEnd

Defines the end of a for-each loop that iterates over the primitives in a geometry.

On this page
Since 20.0

Defines the end of a for-each loop that loops over the primitives in a geometry, and executes the block of nodes sandwiched between this node and its corresponding geo::ForEachPrimBegin node (connected via their scope ports).

The geo ports of this node are in-place ports, which means that the geometry is updated without creating a copy.

Inputs

scope: undefined

Used to define the scope of the for-each loop. Must be wired to the scope output of the corresponding geo::ForEachPrimBegin node.

*geo: Geometry Required

The geometry whose primitives are iterated over. This should be connected to the geo output of the corresponding geo::ForEachPrimBegin node.

element: Int

The primitive number of the primitive that is being iterated over.

__spare__

Extra inputs for use within the block. If a spare input on the geo::ForEachPrimEnd node matches the name of a spare input on the corresponding geo::ForEachPrimBegin node, the value is fed back each iteration.

Outputs

*geo: Geometry

The geo input whose primitives are iterated over.

__spare__

Pass-through of the corresponding input, for use within the block.

See also

APEX nodes