MeshVertices

Returns the vertices of a mesh object.

Syntax

rhinoscriptsyntax.MeshVertices (object_id)

rhinoscript.mesh.MeshVertices (object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of a mesh object.

Returns

List

A list of 3-D points that define the vertices of the mesh if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

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

vertices = rs.MeshVertices(obj)

if vertices: rs.AddPointCloud(vertices)

Also See

IsMesh

MeshContourPoints

MeshFaceCount

MeshFaces

MeshVertexCount