Insert Attribute

Copies all attributes from an input bundle to the output bundle, as well as copying an additional ‘attrToInsert’ attribute from the node itself with a specified name.

Installation

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

Inputs

Name

Type

Descripton

Default

Attribute To Insert (inputs:attrToInsert)

any

The the attribute to be copied from the node to the output bundle

None

Original Bundle (inputs:data)

bundle

Initial bundle of attributes

None

Attribute Name (inputs:outputAttrName)

token

The name of the new output attribute in the bundle

attr0

Outputs

Name

Type

Descripton

Default

Bundle With Inserted Attribute (outputs:data)

bundle

Bundle of input attributes with the new one inserted with the specified name

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.InsertAttribute

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Insert Attribute

Categories

bundle

Generated Class Name

OgnInsertAttrDatabase

Python Module

omni.graph.nodes