Houdini 21.0 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: AnimChannel, AnimChannelArray, AnimChannelCollection, AnimChannelCollectionArray, AnimStack, AnimStackArray, ApexGraphHandle, ApexGraphHandleArray, ApexNodeID, ApexNodeIDArray, ApexPortID, ApexPortIDArray, Bool, BoolArray, ColorRamp, ColorRampArray, Dict, DictArray, DynamicPath, DynamicPathArray, FBIKSkeleton, FBIKSkeletonArray, FBIKSolver, FBIKSolverArray, FBIKTarget, FBIKTargetArray, Float, FloatArray, FloatRamp, FloatRampArray, Geometry, GeometryArray, Int, IntArray, Matrix3, Matrix3Array, Matrix4, Matrix4Array, SimRootDataId, SimRootDataIdArray, String, StringArray, Vector2, Vector2Array, Vector3, Vector3Array, Vector4, Vector4Array

The value to return if no entry with key exists.

Outputs

value: AnimChannel, AnimChannelArray, AnimChannelCollection, AnimChannelCollectionArray, AnimStack, AnimStackArray, ApexGraphHandle, ApexGraphHandleArray, ApexNodeID, ApexNodeIDArray, ApexPortID, ApexPortIDArray, Bool, BoolArray, ColorRamp, ColorRampArray, Dict, DictArray, DynamicPath, DynamicPathArray, FBIKSkeleton, FBIKSkeletonArray, FBIKSolver, FBIKSolverArray, FBIKTarget, FBIKTargetArray, Float, FloatArray, FloatRamp, FloatRampArray, Geometry, GeometryArray, Int, IntArray, Matrix3, Matrix3Array, Matrix4, Matrix4Array, SimRootDataId, SimRootDataIdArray, String, StringArray, Vector2, Vector2Array, Vector3, Vector3Array, Vector4, Vector4Array

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