RVTDocs.com
Namespace: Autodesk.Revit.DB Class: DeleteElements

DeleteElements.Create(Document, IList<ElementId>)

Method
Description:
Creates an instance of the DeleteElements resolution.
Syntax
public static FailureResolution Create(
	Document document,
	IList<ElementId> ids
)
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