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