Click or drag to resize

ObjectTableReplace Method (ObjRef, Extrusion)

Replaces one object with new extrusion object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public bool Replace(
	ObjRef objref,
	Extrusion extrusion
)

Parameters

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

Return Value

Type: Boolean
true if successful.
See Also