ObjectTableReplace Method (ObjRef, Point) |
Replaces one object with new point object.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax public bool Replace(
ObjRef objref,
Point point
)
Public Function Replace (
objref As ObjRef,
point As Point
) As Boolean
Parameters
- objref
- Type: Rhino.DocObjectsObjRef
Reference to old object to be replaced. The object objref.Object() will be deleted.
- point
- Type: Rhino.GeometryPoint
new point to be added. The point is copied.
Return Value
Type:
Booleantrue if successful.
See Also