RhinoCommon API
ObjectTableReplace Method (Guid, Extrusion) |
Replaces one object with new extrusion object.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool Replace( Guid objectId, Extrusion extrusion )
Public Function Replace ( objectId As Guid, extrusion As Extrusion ) As Boolean
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: Booleantrue if successful.

Rhino for Windows
Supported in: 6.8