Fixes inconsistencies in the directions of faces of a mesh object.
Rhino.UnifyMeshNormals (strObject)
strObject |
Required. String. The identifier of a mesh object. |
Number |
The number of faces that were modified if successful. |
Null |
If not successful, or on error. |
Const rhObjectMesh = 32
Dim strObject
strObject = Rhino.GetObject("Select mesh", rhObjectMesh)
If Rhino.IsMesh(strObject) Then
Rhino.UnifyMeshNormals strObject
End If