Provides access to a document for which failures are being processed or preprocessed.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public Document GetDocument()
Return Value
DocumentThe document for which failures preprocessing or processing is being performed.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This FailuresAccessor is inactive (is used outside of failures processing). |