Click or drag to resize

ObjectTableReplace Method (ObjRef, Hatch)

Replaces one object with new hatch object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.1
Syntax
public bool Replace(
	ObjRef objref,
	Hatch hatch
)

Parameters

objref
Type: Rhino.DocObjectsObjRef
Reference to old object to be replaced. The object objref.Object() will be deleted.
hatch
Type: Rhino.GeometryHatch
new hatch to be added. The hatch is copied.

Return Value

Type: Boolean
true if successful.
See Also