Houdini 20.0 Nodes APEX Nodes

geo::SetVertexAttribValues<T>

For a particular attribute, set the attribute values for all vertices.

On this page
Since 20.0

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

Inputs

*geo: Geometry Required

The geometry to set the attribute on.

group: String

An optional pattern to use for setting the attribute value only on a subset of vertices.

The pattern format is the same one used by the group fields on SOP nodes that take vertex selections. Elements in the pattern are separated by spaces, and elements can be vertex numbers, vertex number ranges, or group names.

attribname: String

The name of the attribute to set the value for.

If there is no attribname attribute on the geometry, a new attribute will be 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 geo input with the attribute values modified.

success: Bool

Returns True if the operation was successful.

APEX Nodes