Houdini 20.0 Nodes APEX Nodes

ForEachEnd<T>

Define the end of a for each loop.

On this page
Since 20.0

Define the end of a for each loop over the elements of an array.

Inputs

scope: undefined

Used to define the scope of the for each loop. Must be wired to the scope output of the corresponding ForEachBegin node.

*array: ApexNodeIDArray, ApexPortIDArray, BoolArray, DictArray, FloatArray, GeometryArray, IntArray, Matrix3Array, Matrix4Array, StringArray, Vector2Array, Vector3Array, Vector4Array Required

The array that is being iterated over. This should be connected to the array output of the for each begin node.

value: ApexNodeID, ApexPortID, Bool, Dict, Float, Geometry, Int, Matrix3, Matrix4, String, Vector2, Vector3, Vector4

The new value to set in the array, replacing the element of the current iteration.

spare

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

Outputs

*array: ApexNodeIDArray, ApexPortIDArray, BoolArray, DictArray, FloatArray, GeometryArray, IntArray, Matrix3Array, Matrix4Array, StringArray, Vector2Array, Vector3Array, Vector4Array

The modified array that was iterated over.

spare

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

See also

APEX Nodes