ObjectTable.Replace Method (Guid, Hatch)

ObjectTableReplace Method (Guid, Hatch)

Replaces one object with new hatch object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Boolean
true if successful.
Version Information

Rhino for Windows

Supported in: 6.8
See Also