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)
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.
Version Information

Rhino for Windows

Supported in: 6.5
See Also