Houdini 20.0 Nodes APEX Nodes

dict::Build

Copies a dictionary and adds new entries.

On this page
Since 20.0

This callback creates a copy of the dict dictionary input and adds entries to the dictionary. The keys of the new entries come from the subport names of the args variadic input. The data type for each entry is determined by the data type of the port.

If the input dictionary has a key that matches one of the keys that are being set, the value at the original key is overwritten with the new value.

Inputs

dict: Dict

A dictionary to copy and edit.

args: VariadicArg<void>

A variadic input of the entries to add to the dictionary. The names of the subports are the keys of the new entries.

Outputs

dict: Dict

A copy of the input dictionary with the new entries added.

APEX Nodes