ObjectTableReplace Method (Guid, Surface) |
Replaces one object with new surface object.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool Replace(
Guid objectId,
Surface surface
)
Public Function Replace (
objectId As Guid,
surface As Surface
) As Boolean
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:
Booleantrue if successful.
See Also