Verifies a mesh object has face normals.
Rhino.MeshHasFaceNormals (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Const rhObjectMesh = 32
Dim strObject
strObject = Rhino.GetObject("Select a mesh", rhObjectMesh)
If Rhino.MeshHasFaceNormals(strObject) Then
Rhino.Print "The mesh has face normal."
Else
Rhino.Print "The mesh does not have face normals."
End If