Verifies a mesh object has vertex normals.
Rhino.MeshHasVertexNormals (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.MeshHasVertexNormals(strObject) Then
Rhino.Print "The mesh has vertex normals."
Else
Rhino.Print "The mesh does not have vertex normals."
End If