DataTypeNameRepresentation#

class omni.graph.tools.ogn.DataTypeNameRepresentation(
value,
names=<not given>,
*values,
module=None,
qualname=None,
type=None,
start=1,
boundary=None,
)#

Bases: Enum

Enumeration of recognized data type name representations. The order of the enums corresponds to the order of data type conversion names as specified in the DataTypeNameConversions.json file. OGN is the keyword in the dictionary and the rest are the value’s list contents.

Attributes

OGN

Type name as it appears in the .ogn file

USD

Type name as it appears in the .usda file

SDF

Type name variable from the Python Sdf.ValueTypeNames namespace

CPP

Returned type when requesting the type value from a generated .cpp node

PYTHON

Returned type when requesting the type value from a generated .py node

PYTHON_ANNOTATION

Namespaced definition that can be used as a type annotation for Python variables representing attribute data

__init__(*args, **kwds)#
CPP = 3#

Returned type when requesting the type value from a generated .cpp node

OGN = 0#

Type name as it appears in the .ogn file

PYTHON = 4#

Returned type when requesting the type value from a generated .py node

PYTHON_ANNOTATION = 5#

Namespaced definition that can be used as a type annotation for Python variables representing attribute data

SDF = 2#

Type name variable from the Python Sdf.ValueTypeNames namespace

USD = 1#

Type name as it appears in the .usda file