Rename Attributes In Bundles

Changes the names of attributes from an input bundle for the corresponding output bundle. Attributes whose names are not in the ‘inputAttrNames’ list will be copied from the input bundle to the output bundle without changing the name.

Installation

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

Inputs

Name

Type

Descripton

Default

Original Attribute Bundle (inputs:data)

bundle

Collection of attributes to be renamed

None

Attributes To Rename (inputs:inputAttrNames)

token

Comma or space separated text, listing the names of attributes in the input data to be renamed

New Attribute Names (inputs:outputAttrNames)

token

Comma or space separated text, listing the new names for the attributes listed in inputAttrNames

Outputs

Name

Type

Descripton

Default

Bundle Of Renamed Attributes (outputs:data)

bundle

Final bundle of attributes, with attributes renamed based on inputAttrNames and outputAttrNames

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.RenameAttribute

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Rename Attributes In Bundles

Categories

bundle

Generated Class Name

OgnRenameAttrDatabase

Python Module

omni.graph.nodes