ObjectTable.Replace Method (ObjRef, TextEntity)

ObjectTableReplace Method (ObjRef, TextEntity)

Replaces one object with new text object.

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

Parameters

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

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also