Tutorial Node: Bundle Add Attributes#

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

Installation#

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

Inputs#

Name

Type

Descripton

Default

Added Attribute Names (inputs:addedAttributeNames)

token[]

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

[]

Removed Attribute Names (inputs:removedAttributeNames)

token[]

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

[]

Attribute Types To Add (inputs:typesToAdd)

token[]

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

[]

Use Batched API (inputs:useBatchedAPI)

bool

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

False

Outputs#

Name

Type

Descripton

Default

Constructed Bundle (outputs:bundle)

bundle

This is the bundle with all attributes added by compute.

None

Metadata#

Name

Value

Unique ID

omni.graph.tutorials.BundleAddAttributes

Version

1

Extension

omni.graph.tutorials

Icon

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

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Tutorial Node: Bundle Add Attributes

Categories

tutorials

Generated Class Name

OgnTutorialBundleAddAttributesDatabase

Python Module

omni.graph.tutorials

See the accompanying tutorial and annotated code at Tutorial 21 - Adding Bundled Attributes