Delete
|
Creates an instance of the DeleteElements resolution.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Parameters
- document Document
- The document which owns the elements to delete.
- ids IList ElementId
- The ids of the elements that will be deleted when this resolution is chosen.
Return Value
FailureResolutionThe instance of the DeleteElements resolution.
| Exception | Condition |
|---|---|
| ArgumentException | The input ids is empty or contains an invalid element id. |
| ArgumentNullException | A non-optional argument was null |