Houdini 18.0 Nodes TOP nodes

Switch TOP node

Switch which between network branches

On this page

This node can be used to switch between input network branches based on the Select Input parameter. The node network will behave as if the selected input branch is wired directly into the node on the switch’s output. Nodes that are in branches that were not selected will not be cooked when executing the TOP graph.

This node does not generate any work items and does not have access to work item attributes or input files. It gets evaluated before other nodes in the graph produce work items. If you want to branch based on an expression that uses work item attributes, you should use either the Filter by Expression or Split nodes.

Parameters

Select Input

Selects which input branch is active. Other branches will not be evaluated when cooking the TOP graph.

Examples

example_top_switch Example for Switch TOP node

This example demonstrates how to use the switch node in PDG/TOPs.

See also

TOP nodes