OmniGraph Node omni.graph.nodes.InsertAttribute

omni.graph.nodes.InsertAttribute Properties

Name

Value

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

omni.graph.nodes.InsertAttribute Description

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.

omni.graph.nodes.InsertAttribute Inputs

Name

Type

Default

Required?

Descripton

inputs:attrToInsert

any

None

Y

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

uiName

Attribute To Insert

inputs:data

bundle

None

Y

Initial bundle of attributes

uiName

Original Bundle

inputs:outputAttrName

token

attr0

Y

The name of the new output attribute in the bundle

uiName

Attribute Name

__default

“attr0”

omni.graph.nodes.InsertAttribute Outputs

Name

Type

Default

Required?

Descripton

outputs:data

bundle

None

Y

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

uiName

Bundle With Inserted Attribute