int  uniquevals(<geometry>geometry, string attribclass, string attribute_name)
string  uniquevals(<geometry>geometry, string attribclass, string attribute_name)
If any points/primitives/vertices in the geometry have the same value for the given attribute, the set of unique values will be smaller than the total number of points/primitives/vertices. This function lets you acquire the set of unique values.
This function only works with string and integer attributes.
When running in the context of a node (such as a wrangle SOP), this argument can be an integer representing the input number (starting at 0) to read the geometry from.
Alternatively, the argument can be a string specifying a geometry file (for example, a
.bgeo) to read from. When running inside Houdini, this can be an
You can also use
"vertexgroup" to read from groups.
The name of the attribute (or intrinsic) to read.