primattribsize expression function
Returns the number of components in a primitive attribute.
Replaced by: hou.Attrib
See also: prim, pointattribsize, vertexattribsize, detailattribsize
Usage
primattribsize(surface_node, attribute)
If the surface node or attribute are not found, returns 0.
Examples
primattribsize( "/obj/model/box", "Cd" )
Returns the number of elements of a diffuse color attribute.