Houdini 20.0 Nodes APEX Nodes

geo::SetPointAttribValuesByName<T>

For a particular attribute, look up points on the geometry by name and set their attribute values.

On this page
Since 20.0

Each variadic value input sets the attribute value of a single point, which nameattrib value matches the corresponding subport name.

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.

nameattrib: String

The name of a string point attribute that will be used to look up points on the geometry.

If multiple matches are found, only the first found point will have its attribute value set.

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: VariadicArg<Dict>, VariadicArg<Float>, VariadicArg<Int>, VariadicArg<Matrix3>, VariadicArg<Matrix4>, VariadicArg<String>, VariadicArg<Vector2>, VariadicArg<Vector3>, VariadicArg<Vector4>

A variadic input of attribute values to set.

Outputs

*geo: Geometry

The geo input with the attribute values modified.

APEX Nodes