Click or drag to resize

ObjectTableReplace Method (ObjRef, Leader)

Replaces one object with new text object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Replace(
	ObjRef objref,
	Leader leader
)

Parameters

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

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Windows

Supported in: 6.0 BETA
See Also