MeshHasTextureCoordinates

Verifies a mesh object has texture coordinates.

Syntax

rhinoscriptsyntax.MeshHasTextureCoordinates (object_id)

rhinoscript.mesh.MeshHasTextureCoordinates (object_id)

Parameters

object_id

Required.  String or Guid.  The object's identifier.

Returns

Boolean

True if successful, otherwise False.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select a mesh", rs.filter.mesh)

if rs.MeshHasTextureCoordinates(obj):

    print "The mesh has texture coordinates."

else:

    print "The mesh does not have texture coordinates."

Also See

MeshTextureCoordinates