ObjectTableReplace Method (ObjRef, Polyline) |
Replaces one object with new curve object.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool Replace(
ObjRef objref,
Polyline polyline
)
Public Function Replace (
objref As ObjRef,
polyline As Polyline
) As Boolean
Parameters
- objref
- Type: Rhino.DocObjectsObjRef
Reference to old object to be replaced. The object objref.Object() will be deleted.
- polyline
- Type: Rhino.GeometryPolyline
new polyline to be added. The polyline is copied.
Return Value
Type:
Booleantrue if successful.
See Also