Tutorial Python Node: Attributes With Simple Data#
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++.
Installation#
To use this Node, you must enable omni.graph.tutorials
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
a_bool |
|
This is an attribute of type boolean |
True |
a_half |
|
This is an attribute of type 16 bit float |
0.0 |
a_int |
|
This is an attribute of type 32 bit integer |
0 |
a_int64 |
|
This is an attribute of type 64 bit integer |
0 |
a_float |
|
This is an attribute of type 32 bit floating point |
0 |
a_double |
|
This is an attribute of type 64 bit floating point |
0 |
a_path |
|
This is an attribute of type path |
|
a_string |
|
This is an attribute of type string |
helloString |
a_token |
|
This is an attribute of type interned string with fast comparison and hashing |
helloToken |
a_objectId |
|
This is an attribute of type objectId |
0 |
a_uchar |
|
This is an attribute of type unsigned 8 bit integer |
0 |
a_uint |
|
This is an attribute of type unsigned 32 bit integer |
0 |
a_uint64 |
|
This is an attribute of type unsigned 64 bit integer |
0 |
a_constant_input |
|
This is an input attribute whose value can be set but can only be connected as a source. |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
a_bool |
|
This is a computed attribute of type boolean |
|
a_half |
|
This is a computed attribute of type 16 bit float |
|
a_int |
|
This is a computed attribute of type 32 bit integer |
|
a_int64 |
|
This is a computed attribute of type 64 bit integer |
|
a_float |
|
This is a computed attribute of type 32 bit floating point |
|
a_double |
|
This is a computed attribute of type 64 bit floating point |
|
a_path |
|
This is a computed attribute of type path |
/Child |
a_string |
|
This is a computed attribute of type string |
This string is empty |
a_token |
|
This is a computed attribute of type interned string with fast comparison and hashing |
|
a_objectId |
|
This is a computed attribute of type objectId |
|
a_uchar |
|
This is a computed attribute of type unsigned 8 bit integer |
|
a_uint |
|
This is a computed attribute of type unsigned 32 bit integer |
|
a_uint64 |
|
This is a computed attribute of type unsigned 64 bit integer |
|
a_nodeTypeUiName |
|
Computed attribute containing the UI name of this node type |
|
a_a_boolUiName |
|
Computed attribute containing the UI name of input a_bool |