Click or drag to resize

ObjectTableDelete Method (RhinoObject, Boolean, Boolean)

Deletes object from document. The deletion can be undone by calling UndeleteObject().

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool Delete(
	RhinoObject obj,
	bool quiet,
	bool ignoreModes


Type: Rhino.DocObjectsRhinoObject
The object to delete.
Type: SystemBoolean
If false, a message box will appear when an object cannot be deleted.
Type: SystemBoolean
If true, locked and hidden objects are deleted. If false objects that are locked, hidden, or on locked or hidden layers are not deleted.

Return Value

Type: Boolean
true on success, false on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also