Houdini 20.5 Nodes APEX nodes

dict::RenameKeys

Renames the keys of a dictionary.

On this page
Since 20.0

The dictionary, keymap, defines a mapping of strings to strings that is used to rename the keys of the dict dictionary.

The dict ports of this node are in-place ports, which means that the dictionary is updated without creating a copy.

Inputs

*dict: Dict Required

A dictionary with keys to be renamed.

keymap: Dict

A dictionary that maps the keys of dict to their new names.

Outputs

*dict: Dict

The dict input with its keys renamed.

APEX nodes