Click or drag to resize

ObjectTableReplace Method (ObjRef, GeometryBase, Boolean)

Replaces the geometry in one object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.9
Syntax
public bool Replace(
	ObjRef objref,
	GeometryBase geometry,
	bool ignoreModes
)

Parameters

objref
Type: Rhino.DocObjectsObjRef
reference to old object to be replaced. The objref.Object() will be deleted.
geometry
Type: Rhino.GeometryGeometryBase

[Missing <param name="geometry"/> documentation for "M:Rhino.DocObjects.Tables.ObjectTable.Replace(Rhino.DocObjects.ObjRef,Rhino.Geometry.GeometryBase,System.Boolean)"]

ignoreModes
Type: SystemBoolean

[Missing <param name="ignoreModes"/> documentation for "M:Rhino.DocObjects.Tables.ObjectTable.Replace(Rhino.DocObjects.ObjRef,Rhino.Geometry.GeometryBase,System.Boolean)"]

Return Value

Type: Boolean
true if successful.
See Also