Click or drag to resize

ObjectTableReplace Method (Guid, Extrusion)

Replaces one object with new extrusion object.

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

Parameters

objectId
Type: SystemGuid
Id of object to be replaced.
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