Tutorial Python Node: Attributes With Arrays of Tuples

This is a tutorial node written in Python. It will compute the point3f array by multiplying each element of the float array by the three element vector in the multiplier.

Installation

To use this node enable omni.graph.tutorials in the Extension Manager.

Inputs

Name

Type

Descripton

Default

A Input Array (inputs:a_inputArray)

float[]

Input array

[]

A Vector Multiplier (inputs:a_vectorMultiplier)

float[3]

Vector multiplier

[1.0, 2.0, 3.0]

Outputs

Name

Type

Descripton

Default

A Product Array (outputs:a_productArray)

pointf[3][]

Output array

[]

A Token Array (outputs:a_tokenArray)

token[]

String representations of the input array

None

Metadata

Name

Value

Unique ID

omni.graph.tutorials.ComplexDataPy

Version

1

Extension

omni.graph.tutorials

Icon

ogn/icons/omni.graph.tutorials.ComplexDataPy.svg

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Python Node: Attributes With Arrays of Tuples

Categories

tutorials

Generated Class Name

OgnTutorialComplexDataPyDatabase

Python Module

omni.graph.tutorials

See the accompanying tutorial and annotated code at Tutorial 11 - Complex Data Node in Python