OmniGraph Node omni.graph.tutorials.BundleAddAttributesPy

omni.graph.tutorials.BundleAddAttributesPy Properties

Name

Value

Version

1

Extension

omni.graph.tutorials

Icon

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

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Python Node: Bundle Add Attributes

__categories

tutorials

__language

Python

Generated Class Name

OgnTutorialBundleAddAttributesPyDatabase

Python Module

omni.graph.tutorials

omni.graph.tutorials.BundleAddAttributesPy Description

This is a Python tutorial node. It exercises functionality for adding and removing attributes on output bundles.

omni.graph.tutorials.BundleAddAttributesPy Inputs

Name

Type

Default

Required?

Descripton

inputs:addedAttributeNames

token[]

[]

Y

Names for the attribute types to be added. The size of this array must match the size of the ‘typesToAdd’ array to be legal.

inputs:removedAttributeNames

token[]

[]

Y

Names for the attribute types to be removed. Non-existent attributes will be ignored.

inputs:typesToAdd

token[]

[]

Y

List of type descriptions to add to the bundle. The strings in this list correspond to the strings that represent the attribute types in the .ogn file (e.g. float[3][], colord[3], bool

uiName

Attribute Types To Add

inputs:useBatchedAPI

bool

False

Y

Controls whether or not to used batched APIS for adding/removing attributes

omni.graph.tutorials.BundleAddAttributesPy Outputs

Name

Type

Default

Required?

Descripton

outputs:bundle

bundle

None

Y

This is the bundle with all attributes added by compute.

uiName

Constructed Bundle