ObjectTable.Delete Method (IEnumerable(Guid), Boolean)

ObjectTableDelete Method (IEnumerableGuid, Boolean)

Deletes a collection of objects from the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int Delete(
	IEnumerable<Guid> objectIds,
	bool quiet
)
Public Function Delete ( 
	objectIds As IEnumerable(Of Guid),
	quiet As Boolean
) As Integer

Parameters

objectIds
Type: System.Collections.GenericIEnumerableGuid
Ids of all objects to delete.
quiet
Type: SystemBoolean
If false, a message box will appear when an object cannot be deleted.

Return Value

Type: Int32
The number of successfully deleted objects.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also