Only for developers who are defining custom subclasses of MeshObject.
Directly sets the internal mesh geometry for this object. Note that
this function does not work with Rhino's "undo".
RhinoCommon (in RhinoCommon.dll)
protected Mesh SetMesh(
Protected Function SetMesh (
mesh As Mesh
) As Mesh
- Type: Rhino.GeometryMesh
[Missing <param name="mesh"/> documentation for "M:Rhino.DocObjects.MeshObject.SetMesh(Rhino.Geometry.Mesh)"]
The old mesh geometry that was set for this object
Note that this function does not work with Rhino's "undo". The typical
approach for adjusting the mesh geometry is to modify the object that you
get when you call the MeshGeometry property and then call CommitChanges.