.. _omni_graph_tutorials_SimpleDataPy_1:

.. _omni_graph_tutorials_SimpleDataPy:

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

:orphan:

.. meta::
    :title: Tutorial Python Node: Attributes With Simple Data
    :keywords: lang-en omnigraph node tutorials tutorials simple-data-py


Tutorial Python Node: Attributes With Simple Data
=================================================

.. <description>

This is a tutorial node. It creates both an input and output attribute of every simple  supported data type. The values are modified in a simple way so that the compute modifies values.  It is the same as node omni.graph.tutorials.SimpleData, except it is implemented in Python instead of C++.

.. </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

    "Simple Boolean Input (*inputs:a_bool*)", "``bool``", "This is an attribute of type boolean", "True"
    "inputs:a_constant_input", "``int``", "This is an input attribute whose value can be set but can only be connected as a source.", "0"
    "", "*outputOnly*", "1", ""
    "inputs:a_double", "``double``", "This is an attribute of type 64 bit floating point", "0"
    "inputs:a_float", "``float``", "This is an attribute of type 32 bit floating point", "0"
    "inputs:a_half", "``half``", "This is an attribute of type 16 bit float", "0.0"
    "inputs:a_int", "``int``", "This is an attribute of type 32 bit integer", "0"
    "inputs:a_int64", "``int64``", "This is an attribute of type 64 bit integer", "0"
    "inputs:a_objectId", "``objectId``", "This is an attribute of type objectId", "0"
    "inputs:a_path", "``path``", "This is an attribute of type path", ""
    "inputs:a_string", "``string``", "This is an attribute of type string", "helloString"
    "inputs:a_token", "``token``", "This is an attribute of type interned string with fast comparison and hashing", "helloToken"
    "inputs:a_uchar", "``uchar``", "This is an attribute of type unsigned 8 bit integer", "0"
    "inputs:a_uint", "``uint``", "This is an attribute of type unsigned 32 bit integer", "0"
    "inputs:a_uint64", "``uint64``", "This is an attribute of type unsigned 64 bit integer", "0"


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

    "outputs:a_a_boolUiName", "``string``", "Computed attribute containing the UI name of input a_bool", "None"
    "outputs:a_bool", "``bool``", "This is a computed attribute of type boolean", "None"
    "outputs:a_double", "``double``", "This is a computed attribute of type 64 bit floating point", "None"
    "outputs:a_float", "``float``", "This is a computed attribute of type 32 bit floating point", "None"
    "outputs:a_half", "``half``", "This is a computed attribute of type 16 bit float", "None"
    "outputs:a_int", "``int``", "This is a computed attribute of type 32 bit integer", "None"
    "outputs:a_int64", "``int64``", "This is a computed attribute of type 64 bit integer", "None"
    "outputs:a_nodeTypeUiName", "``string``", "Computed attribute containing the UI name of this node type", "None"
    "outputs:a_objectId", "``objectId``", "This is a computed attribute of type objectId", "None"
    "outputs:a_path", "``path``", "This is a computed attribute of type path", "/Child"
    "outputs:a_string", "``string``", "This is a computed attribute of type string", "This string is empty"
    "outputs:a_token", "``token``", "This is a computed attribute of type interned string with fast comparison and hashing", "None"
    "outputs:a_uchar", "``uchar``", "This is a computed attribute of type unsigned 8 bit integer", "None"
    "outputs:a_uint", "``uint``", "This is a computed attribute of type unsigned 32 bit integer", "None"
    "outputs:a_uint64", "``uint64``", "This is a computed attribute of type unsigned 64 bit integer", "None"


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

    "Unique ID", "omni.graph.tutorials.SimpleDataPy"
    "Version", "1"
    "Extension", "omni.graph.tutorials"
    "Icon", "ogn/icons/omni.graph.tutorials.SimpleDataPy.svg"
    "Has State?", "False"
    "Implementation Language", "Python"
    "Default Memory Type", "cpu"
    "Generated Code Exclusions", "None"
    "uiName", "Tutorial Python Node: Attributes With Simple Data"
    "__iconColor", "#FF00FF00"
    "__iconBackgroundColor", "#7FFF0000"
    "__iconBorderColor", "#FF0000FF"
    "Categories", "tutorials"
    "Generated Class Name", "OgnTutorialSimpleDataPyDatabase"
    "Python Module", "omni.graph.tutorials"

