ObjectTable.Replace Method (Guid, Line)
Click or drag to resize

ObjectTableReplace Method (Guid, Line)

Replaces one object with new line curve object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Replace(
	Guid objectId,
	Line line
)

Parameters

objectId
Type: SystemGuid
Id of object to be replaced.
line
Type: Rhino.GeometryLine
new line to be added. The line is copied.

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.7
See Also