ObjectTable.Replace Method (Guid, Brep)

ObjectTableReplace Method (Guid, Brep)

Replaces one object with new brep object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Replace(
	Guid objectId,
	Brep brep
)
Public Function Replace ( 
	objectId As Guid,
	brep As Brep
) As Boolean

Parameters

objectId
Type: SystemGuid
Id of object to be replaced.
brep
Type: Rhino.GeometryBrep
new surface to be added A duplicate of the brep is added to the Rhino model.

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also