RhinoCommon API
ObjectTableReplace Method (ObjRef, Line) |
Replaces one object with new line curve object.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public bool Replace( ObjRef objref, Line line )
Public Function Replace ( objref As ObjRef, line As Line ) As Boolean
Parameters
- objref
- Type: Rhino.DocObjectsObjRef
Reference to old object to be replaced. The object objref.Object() will be deleted. - line
- Type: Rhino.GeometryLine
new line to be added. The line is copied.
Return Value
Type: Booleantrue if successful.
