.. _omni_graph_examples_python_ExecSwitch_1:

.. _omni_graph_examples_python_ExecSwitch:

.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================

:orphan:

.. meta::
    :title: Exec Switch
    :keywords: lang-en omnigraph node examples python exec-switch


Exec Switch
===========

.. <description>

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

.. </description>


Installation
------------

To use this node enable :ref:`omni.graph.examples.python<ext_omni_graph_examples_python>` in the Extension Manager.


Inputs
------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "Exec In (*inputs:execIn*)", "``execution``", "Trigger the output", "None"
    "inputs:switch", "``bool``", "Enables right value if greater than 0, else left value", "False"


Outputs
-------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "outputs:execLeftOut", "``execution``", "Left execution", "None"
    "outputs:execRightOut", "``execution``", "Right execution", "None"


Metadata
--------
.. csv-table::
    :header: "Name", "Value"
    :widths: 30,70

    "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"

