Houdini 22.0 Nodes APEX nodes

Break

Breaks the execution of a loop.

On this page
Since 22.0

When the condition port is set to True, the innermost loop immediately terminates, and execution continues after the loop’s End node. When a jump occurs, the values of the Break node’s spare ports are copied to the matching ports of the loop’s End (as well as to the matching ports of any IfEnd nodes traversed along the way). When the condition port is set to False, a jump does not occur, and the values pass through the spare ports unaffected.

Inputs

condition: Bool

When true, the innermost loop exits. The default value is True.

__spare__

When condition is True, the values of the node’s spare ports are copied to the matching ports of the End nodes.

Outputs

__spare__

When condition is False, passes through the values for use in downstream loop nodes.

See also

APEX nodes