GetCurrentResolutionType Method


Failure Message Accessor Get Current Resolution Type Method

Retrieves the type of resolution to be used to resolve the failure.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public FailureResolutionType GetCurrentResolutionType()

Return Value

FailureResolutionType
The type of failure resolution to be used to resolve the failure.
Exceptions
Exception Condition
InvalidOperationException This FailureMessageAccessor has not been properly initialized. -or- This FailureMessageAccessor does not have any resolutions.
Remarks
If the current resolution type was never set for the failure, FailureResolutionType::Default is returned.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →