haspoint expression function

Returns 1 if a specified point is in a specified group.

Replaced by: hou.PointGroup

All Usage Examples

See also: hasprim, pointlist, primlist

Usage

haspoint(group_name, surface_node, point_num)

The function will return 0 if the group is a primitive group.

Examples

haspoint("ears", "/obj/geo1/facet1", 4)

Returns 1 if the group “ears” contains point number 4, otherwise returns 0.