Creates an instance of the DeleteElements resolution.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static FailureResolution Create(
Document document,
ElementId id
)
Parameters
- document Document
-
The document which owns the element to delete.
- id ElementId
-
The id of the element that will be deleted when this resolution is chosen.
Return Value
FailureResolution
The instance of the DeletedElements resolution.
Exceptions
See Also
Reference