Houdini 20.0 Nodes APEX Nodes

dict::Set<T>

Sets a value into a dictionary.

On this page
Since 20.0

Takes as input a dictionary, key, and value, and outputs an edited version of the dictionary with the entry at key set to value.

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 where the new key/value pair is added.

key: String

The key in dict at which to set value.

value: Bool, Dict, DictArray, Float, FloatArray, Int, IntArray, Matrix3, Matrix4, String, StringArray, Vector2, Vector3, Vector4

The value to set at dictionary entry key.

Outputs

*dict: Dict

The dict input edited with the entry at key set to value.

APEX Nodes