.. _omni_graph_tutorials_TokensPy_1:

.. _omni_graph_tutorials_TokensPy:

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

:orphan:

.. meta::
    :title: Tutorial Python Node: Tokens
    :keywords: lang-en omnigraph node tutorials tutorials tokens-py


Tutorial Python Node: Tokens
============================

.. <description>

This is a tutorial node. It exercises the feature of providing hardcoded token values in the database after a node type has been initialized. It sets output booleans to the truth value of whether corresponding inputs appear in the hardcoded token list.

.. </description>


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

To use this node enable :ref:`omni.graph.tutorials<ext_omni_graph_tutorials>` in the Extension Manager.


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

    "inputs:valuesToCheck", "``token[]``", "Array of tokens that are to be checked", "[]"


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

    "outputs:isColor", "``bool[]``", "True values if the corresponding input value appears in the token list", "None"


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

    "Unique ID", "omni.graph.tutorials.TokensPy"
    "Version", "1"
    "Extension", "omni.graph.tutorials"
    "Icon", "ogn/icons/omni.graph.tutorials.TokensPy.svg"
    "Has State?", "False"
    "Implementation Language", "Python"
    "Default Memory Type", "cpu"
    "Generated Code Exclusions", "None"
    "uiName", "Tutorial Python Node: Tokens"
    "__tokens", "[""red"", ""green"", ""blue""]"
    "Categories", "tutorials"
    "Generated Class Name", "OgnTutorialTokensPyDatabase"
    "Python Module", "omni.graph.tutorials"

