Iterator

Iterates through a number of loops as defined by a paired loop node with the same tag.


Inputs

  • geometry

    • Accepts a single geometry connection (unless the SHIFT key is held).
  • idling value

    • The integer value to output.

    • This value doesn’t have any effect on the computed result of the paired loop node, rather it allows the change of the value output to inspect nodes within specific iterations.

  • tag

    • The tag that is used to reference an iterator - loop pair.

Outputs

  • geometry

    • Output primitives.
  • value

    • The integer value output as defined by the current iteration of a loop. The idling value input allows you to change this output to view nodes within specific iterations.
  • points

    • The list of points of the output primitives.
  • points.x

    • The list of x values of the points of the output primitives.
  • points.y

    • The list of y values of the points of the output primitives.
  • points.z

    • The list of z values of the points of the output primitives.

Notes

  • The geometry output of the iterator node changes depending on if the paired loop node has its cumulative input set to true or not.
    • If the paired loop node's cumulative input is set to false, then the geometry output of the relevant iterator node will be the input primitives.
    • If the paired loop node's cumulative input is set to true, then the geometry output of the relevant iterator node will be the result of the previous iteration.

Examples