Houdini 20.0 Nodes APEX Nodes

geo::ForEachPrimEnd

Define the end of a for each primitive loop.

On this page
Since 20.0

Define the end of a for each loop over the primitives in a geometry.

The geo ports of this callback are in-place ports. This 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 ForEachPrimBegin node.

*geo: Geometry Required

The geometry which primitives are being iterated over. This should be connected to the geo output of the ForEachPrimBegin node.

element: Int
spare

Extra inputs for use within the block. If a spare input on the ForEachPrimEnd matches the name of a spare input on the corresponding ForEachPrimBegin node, the value will be fedback each iteration.

Outputs

*geo: Geometry

The geo input which primitives were iterated over.

spare

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

APEX Nodes