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

Inputs

Name

Type

Description

Default

inputAttrNames

token

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

outputAttrNames

token

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

data

bundle

Collection of attributes to be renamed

Constraints:

  • Length of inputAttrNames should always be equal to the length of outputAttrNames

Outputs

Name

Type

Description

Default

data

bundle

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