Dynamic Switch#

A switch node that will enable the left side or right side depending on the input. Requires dynamic scheduling to work

Installation#

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

Inputs#

Name

Type

Descripton

Default

Left Value (inputs:left_value)

int

Left value to output

-1

Right Value (inputs:right_value)

int

Right value to output

1

Switch (inputs:switch)

int

Enables right value if greater than 0, else left value

0

Outputs#

Name

Type

Descripton

Default

Left Out (outputs:left_out)

int

Left side output

0

Right Out (outputs:right_out)

int

Right side output

0

Metadata#

Name

Value

Unique ID

omni.graph.examples.python.DynamicSwitch

Version

1

Extension

omni.graph.examples.python

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

usd

uiName

Dynamic Switch

Categories

examples

Generated Class Name

OgnDynamicSwitchDatabase

Python Module

omni.graph.examples.python