UnifyMeshNormals

Fixes inconsistencies in the directions of faces of a mesh object.

Syntax

Rhino.UnifyMeshNormals (strObject)

Parameters

strObject

Required.  String.  The identifier of a mesh object.

Returns

Number

The number of faces that were modified if successful.

Null

If not successful, or on error.

Example

Const rhObjectMesh = 32

Dim strObject

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

If Rhino.IsMesh(strObject) Then

  Rhino.UnifyMeshNormals strObject

End If

Also See

IsMesh