Houdini 22.0 Nodes APEX nodes

ForRangeBegin

Defines the start of a for loop which runs over a range of integers.

On this page
Since 22.0

Defines the start of a for loop that loops over a range of integers, and executes the block of nodes sandwiched between this node and its corresponding ForRangeEnd node (connected via their scope ports).

The range is a sequence of integers on the half-open interval [start, stop). The range can be sampled at a stride using step, which determines the number of elements between samples. The index port updates each loop iteration with the current index value from the range.

Inputs

start: Int

The first number in the range (inclusive). The default value is 0.

stop: Int

The last number in the range (exclusive). The default value is 0.

step: Int

The increment value between range values. The default value is 1.

__spare__

Extra inputs used within the block.

Outputs

scope: undefined

Used to define the scope of the for loop. Must be wired to the scope input of the corresponding ForRangeEnd node.

index: Int
__spare__

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

See also

APEX nodes