Houdini 20.0 Nodes APEX Nodes

dict::Update

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

On this page
Since 20.0

This callback takes as input a dictionary, a list of other dictionaries, and 2 boolean values: addmissing and changetype.

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

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

Inputs

*dict: Dict

The dictionary to update.

others: VariadicArg<Dict>

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

addmissing: Bool

If true, entries with new keys are added to dict.

changetype: Bool

If 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