Houdini 20.5 Nodes APEX nodes

geo::SetVertexAttribValues<T>

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

On this page
Since 20.0

Sets the value of a given attribute, attribname, on all the vertices 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 vertices. The attribute value is only set on this subset of vertices.

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 vertex numbers, vertex 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