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, you must enable omni.graph.tutorials in the Extension Manager.

Inputs

Name

Type

Description

Default

Attribute Types To Add (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

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.

removedAttributeNames

token[]

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

useBatchedAPI

bool

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

Outputs

Name

Type

Description

Default

Constructed Bundle (bundle)

bundle

This is the bundle with all attributes added by compute.