RhinoCommon API
ObjectTableReplace Method (ObjRef, TextEntity) |
Replaces one object with new text object.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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: Booleantrue if successful.