Exec Switch

A switch node that will enable the left side or right side depending on the input

Installation

To use this node enable omni.graph.examples.python in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Exec In (inputs:execIn)

execution

Signal to the graph that this node is ready to be executed.

None

Switch (inputs:switch)

bool

Enables right value if greater than 0, else left value

False

Outputs

Name

Type

Descripton

Default

Exec Left Out (outputs:execLeftOut)

execution

If ‘Switch’ is less than or equal to 0, signal to the graph that execution can continue downstream on this path.

None

Exec Right Out (outputs:execRightOut)

execution

If ‘Switch’ is greater than 0, signal to the graph that execution can continue downstream on this path.

None

Metadata

Name

Value

Unique ID

omni.graph.examples.python.ExecSwitch

Version

1

Extension

omni.graph.examples.python

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

usd

uiName

Exec Switch

Categories

examples

Generated Class Name

OgnExecSwitchDatabase

Python Module

omni.graph.examples.python