DeleteElements.Create(Document, IList<ElementId>)
Method
Description:
Creates an instance of the DeleteElements resolution.
Creates an instance of the DeleteElements resolution.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document which owns the elements to delete. |
ids | IList | The ids of the elements that will be deleted when this resolution is chosen. |
Return Value
Type | Description |
---|---|
FailureResolution | The instance of the DeleteElements resolution. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The input ids is empty or contains an invalid element id. |
ArgumentNullException | A non-optional argument was null |