Click or drag to resize

ObjectTableReplace Method (Guid, Surface)

Replaces one object with new surface object.

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

Parameters

objectId
Type: SystemGuid
Id of object to be replaced.
surface
Type: Rhino.GeometrySurface
new surface to be added A duplicate of the surface 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.5
See Also