Click or drag to resize
ObjectTableReplace Method (ObjRef, Line)
Replaces one object with new line curve object.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool Replace(
	ObjRef objref,
	Line line
)

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: Boolean
true if successful.
See Also