OmniGraph Node omni.graph.nodes.RenameAttribute

omni.graph.nodes.RenameAttribute Properties

Name

Value

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

omni.graph.nodes.RenameAttribute Description

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.

omni.graph.nodes.RenameAttribute Inputs

Name

Type

Default

Required?

Descripton

inputs:data

bundle

None

Y

Collection of attributes to be renamed

uiName

Original Attribute Bundle

inputs:inputAttrNames

token

Y

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

uiName

Attributes To Rename

__default

“”

inputs:outputAttrNames

token

Y

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

uiName

New Attribute Names

__default

“”

omni.graph.nodes.RenameAttribute Outputs

Name

Type

Default

Required?

Descripton

outputs:data

bundle

None

Y

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

uiName

Bundle Of Renamed Attributes