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

public bool Replace( Guid objectId, Hatch hatch )
Public Function Replace ( objectId As Guid, hatch As Hatch ) As Boolean
Parameters
- objectId
- Type: SystemGuid
Id of object to be replaced. - hatch
- Type: Rhino.GeometryHatch
new hatch to be added. The hatch is copied.
Return Value
Type: Booleantrue if successful.

Rhino for Windows
Supported in: 6.8