Houdini 20.5 Nodes APEX nodes

dict::Update

Updates the entries of a dictionary with the entries of other dictionaries.

On this page
Since 20.0

The entries from a list of dictionaries are copied to the dict dictionary in port order, replacing entries that have the same keys as dict. If addmissing is set to True, entries with new keys are added to dict. If changetype is set to True, the value of the entries in dict are allowed to change types.

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

The dictionary to update.

others: VariadicArg<Dict>

A variadic input of dictionaries that are used to update dict in order.

addmissing: Bool

If set to True, entries with new keys are added to dict.

changetype: Bool

If set to True, the value of the entries in dict are allowed to change types.

Outputs

*dict: Dict

The dict input with its entries updated.

APEX nodes