Share

DeleteElements.Create(Document, IList<ElementId>) Method

Creates an instance of the DeleteElements resolution.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static FailureResolution Create(
	Document document,
	IList<ElementId> ids
)

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

FailureResolution
The instance of the DeleteElements resolution.

Exceptions

ExceptionCondition
ArgumentException The input ids is empty or contains an invalid element id.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?