Inputs

Add Input

Delete input

Use these buttons to create the required number of run variables within the loop. You can change these variables individually for each loop pass and use them as the basis for the next loop pass. Variables can therefore become larger with each run, e.g., to run through the index numbers of an array or to calculate the sum of several vectors that are created one after the other.

Types.1

In this section, you can define an individual data type for each run variable. It is therefore no problem at all to use different variables, e.g., for integer values, vectors and matrices within the loop. As a rule, these inputs do not have to be linked externally on the Node. You can conveniently define the data types directly when creating new variables in the Attribute Manager.

Initial

In this group, you can define a start value for each variable created, which then forms the basis for further value changes within the loop. Within the loop group, these Initial values then become previous values for the first loop pass.

...}

This input is indicated by three dots and an open bracket ...)
Here, for example, you use the Range output of a Range Node to define the number of loop passes. If you change the Initial variables defined within the group and link the result to the same variable in the Last section of the outputs, you will only receive a single result at the outputs of the loop transfer, which is available after the inner area has been completely run through. However, you can also add further outputs by right-clicking on the Node and selecting Add Output/Add New Output and also output values that are available per loop pass.

Outer Scope

This signal is useful when linking different Nodes that should have equal hierarchical dependency on each other.

Previous

Within the loop, you will find this parameter group for all created variables. During the first loop pass, the values will automatically be defined by the Initial settings. If you now change these values within the loop using your own Nodes, you can forward the results of these calculations to the corresponding outputs in the Next parameter group. The Next values then automatically become Previous values for the loop pass that directly follows. In this way, you can always access the previous and - through your own calculations - the current value of a variable within the group.

Next

You will find these outputs within the open loop. Outputs are offered here for each variable created, to which you can send the results of your calculation from the Previous input side of the loop. The values at the Next variables then automatically become the Previous values in the following loop pass.