MeshQuadCount

Returns the number of quad faces of a mesh object.

Syntax

Rhino.MeshQuadCount (strObject)

Parameters

strObject

Required.  String.  The identifier of a mesh object.

Returns

Number

The number of quad mesh faces if successful

Null

If not successful, or on error.

Example

Const rhObjectMesh = 32

Dim strObject

strObject = Rhino.GetObject("Select mesh", rhObjectMesh )

Rhino.Print "Quad faces: " & CStr(Rhino.MeshQuadCount(strObject))

Rhino.Print "Triangle faces: " & CStr(Rhino.MeshTriangleCount(strObject))

Rhino.Print "Total faces: " & CStr(Rhino.MeshFaceCount(strObject))

Also See

MeshQuadCount