Houdini 20.5 Nodes APEX nodes

IfBegin

Defines the start of an If block for conditional execution.

On this page
Since 20.0

Allows conditional execution of the block of nodes sandwiched between this node and its corresponding IfEnd node (connected via their scope ports). The block of nodes are only executed when the condition input is True.

Inputs

condition: Bool

If set to True, executes the block.

__spare__

Extra inputs for use within the block. When condition is False, these values are copied to the matching outputs of the corresponding IfEnd node. When condition is True, the IfEnd node outputs are copied from its own (matching) inputs.

Outputs

scope: undefined

Used to define the scope of the block. Must be wired to the scope input of the corresponding IfEnd node.

__spare__

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

See also

APEX nodes