OmniGraph Node omni.graph.tutorials.SimpleDataPy

omni.graph.tutorials.SimpleDataPy Properties

Name

Value

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

__language

Python

Generated Class Name

OgnTutorialSimpleDataPyDatabase

Python Module

omni.graph.tutorials

omni.graph.tutorials.SimpleDataPy 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++.

omni.graph.tutorials.SimpleDataPy Inputs

Name

Type

Default

Required?

Descripton

inputs:a_bool

bool

True

This is an attribute of type boolean

uiName

Simple Boolean Input

__default

true

inputs:a_constant_input

int

0

Y

This is an input attribute whose value can be set but can only be connected as a source.

outputOnly

1

inputs:a_double

double

0

Y

This is an attribute of type 64 bit floating point

__default

0

inputs:a_float

float

0

Y

This is an attribute of type 32 bit floating point

__default

0

inputs:a_half

half

0.0

Y

This is an attribute of type 16 bit float

__default

0.0

inputs:a_int

int

0

Y

This is an attribute of type 32 bit integer

__default

0

inputs:a_int64

int64

0

Y

This is an attribute of type 64 bit integer

__default

0

inputs:a_objectId

objectId

0

Y

This is an attribute of type objectId

__default

0

inputs:a_path

path

Y

This is an attribute of type path

__default

“”

inputs:a_string

string

helloString

Y

This is an attribute of type string

__default

“helloString”

inputs:a_token

token

helloToken

Y

This is an attribute of type interned string with fast comparison and hashing

__default

“helloToken”

inputs:a_uchar

uchar

0

Y

This is an attribute of type unsigned 8 bit integer

__default

0

inputs:a_uint

uint

0

Y

This is an attribute of type unsigned 32 bit integer

__default

0

inputs:a_uint64

uint64

0

Y

This is an attribute of type unsigned 64 bit integer

__default

0

omni.graph.tutorials.SimpleDataPy Outputs

Name

Type

Default

Required?

Descripton

outputs:a_a_boolUiName

string

None

Y

Computed attribute containing the UI name of input a_bool

outputs:a_bool

bool

None

Y

This is a computed attribute of type boolean

outputs:a_double

double

None

Y

This is a computed attribute of type 64 bit floating point

outputs:a_float

float

None

Y

This is a computed attribute of type 32 bit floating point

outputs:a_half

half

None

Y

This is a computed attribute of type 16 bit float

outputs:a_int

int

None

Y

This is a computed attribute of type 32 bit integer

outputs:a_int64

int64

None

Y

This is a computed attribute of type 64 bit integer

outputs:a_nodeTypeUiName

string

None

Y

Computed attribute containing the UI name of this node type

outputs:a_objectId

objectId

None

Y

This is a computed attribute of type objectId

outputs:a_path

path

/Child

Y

This is a computed attribute of type path

__default

“/Child”

outputs:a_string

string

This string is empty

Y

This is a computed attribute of type string

__default

“This string is empty”

outputs:a_token

token

None

Y

This is a computed attribute of type interned string with fast comparison and hashing

outputs:a_uchar

uchar

None

Y

This is a computed attribute of type unsigned 8 bit integer

outputs:a_uint

uint

None

Y

This is a computed attribute of type unsigned 32 bit integer

outputs:a_uint64

uint64

None

Y

This is a computed attribute of type unsigned 64 bit integer