pointattribsize expression function

Returns the number of components in a point attribute.

Replaced by: hou.Attrib

All Usage Examples

See also: point, vertexattribsize, primattribsize, detailattribsize

Usage

pointattribsize(surface_node, attribute)

If the surface node or attribute is not found, returns 0.

Examples

pointattribsize( "/obj/model/grid1", "P" )

Returns 3, the number of components in a ā€œPā€ (position) attribute (X, Y, and Z).