Click or drag to resize

ObjectTableReplace Method (ObjRef, Mesh)

Replaces one object with new mesh object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool Replace(
	ObjRef objref,
	Mesh mesh


Type: Rhino.DocObjectsObjRef
reference to old object to be replaced. The objref.Object() will be deleted.
Type: Rhino.GeometryMesh
new mesh to be added A duplicate of the mesh is added to the Rhino model.

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also