MeshHasVertexNormals

Verifies a mesh object has vertex normals.

Syntax

rhinoscriptsyntax.MeshHasVertexNormals (object_id)

rhinoscript.mesh.MeshHasVertexNormals (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.MeshHasVertexNormals(obj):

    print "The mesh has vertex normals."

else:

    print "The mesh does not have vertex normals."

Also See

MeshVertexNormals