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