Houdini 21.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: 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 set at dictionary entry key.

Outputs

*dict: Dict

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

See also

APEX nodes