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)
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.
Version Information

Rhino for Windows

Supported in: 6.5
See Also