Houdini 20.5 Nodes APEX nodes

dict::Get<T>

Gets a value from a dictionary.

On this page
Since 20.0

Retrieves the value from the dictionary that corresponds to the key. If successful, the value output is set to the value retrieved. Otherwise, value is set to the default value.

Inputs

dict: Dict

A dictionary from which to get a value.

key: String

The key corresponding to the value to get.

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

The value to return if no entry with key exists.

Outputs

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

The value corresponding to the key in dict. If no such key exists, this is set to the default value.

success: Bool

Returns True if value is returned successfully.

See also

APEX nodes