Houdini 20.5 Nodes APEX nodes

geo::SetPointAttribValues<T>

Sets the value of a given attribute on all the points in a geometry.

On this page
Since 20.0

Sets the value of a given attribute, attribname, on all the points in a geometry.

The geo ports of this node are in-place ports, which means that the geometry is updated without creating a copy.

Inputs

*geo: Geometry Required

The geometry on which to set the attribute.

group: String

An optional pattern to use for matching a subset of points. The attribute value is only set on this subset of points.

The pattern format is the same as that used by the group parameters on various SOP nodes. Elements in the pattern are separated by spaces, and can be point numbers, point number ranges, or group names. See group syntax for more information.

attribname: String

The name of the attribute to set the value for. If there is no attribname attribute on the geometry, a new attribute is created.

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

The value of the attribute to set.

Outputs

*geo: Geometry

The updated geo input with the attribute values modified.

success: Bool

Returns True if the operation is successful.

See also

APEX nodes