ObjectTableDelete Method (Guid, Boolean) |
Deletes object from document. The deletion can be undone by calling UndeleteObject().
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool Delete(
Guid objectId,
bool quiet
)
Public Function Delete (
objectId As Guid,
quiet As Boolean
) As Boolean
Parameters
- objectId
- Type: SystemGuid
Id of the object to delete. - quiet
- Type: SystemBoolean
If false, a message box will appear when an object cannot be deleted.
Return Value
Type:
Booleantrue on success, false on failure.
See Also