Houdini 20.0 Nodes VOP nodes

Block End While VOP node

Marks the end of a while code block.

Since 14.5

The Block End While node is a while end node. It marks the end of a while loop. The enclosed nodes will be repeated until the first input of this node evaluates to false. If you also wish to test the first iteration, an Block Begin If can be used as the begin block.


The block nodes are usually implicitly put down with the higher level For Loop, For-Each Loop, While Loop tools.


Paired Block

A path to the paired block forming a begin/end block pair. Both nodes must be in the same network. Nodes wired between the pair are enclosed in a convex hull and are placed inside a code block. Depending on the types of the begin and end blocks, different control flow can be done on the block.

Enclose Inputs

There are two ways to determine which input nodes should be put inside of the code block. If this is not set, they are only enclosed if they depend on the outputs of the paired begin block. If this is set, any node that can be moved into the block is so moved.

It is advantageous with if-blocks to move as many nodes inside as possible as this avoids executing them if the condition is false.

It is advantageous with loop-blocks to move as many nodes outside as possible to avoid having execute them more than once when looping.

Number of Outputs

By default an output is generated for each input. This allows the specification of extra outputs. If no input wire is present, the value is assumed to be 0 and the type must be specified.

The outputs of an End block are paired with the outputs of the Begin block. If no names are present, the pairing is done in order. If names are present, they are paired by name.

See also

VOP nodes