ObjectTable.Replace Method (ObjRef, TextDot)

ObjectTableReplace Method (ObjRef, TextDot)

Replaces one object with new textdot object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Replace(
	ObjRef objref,
	TextDot dot
)
Public Function Replace ( 
	objref As ObjRef,
	dot As TextDot
) As Boolean

Parameters

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

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also