GetCurrentResolutionType Method


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2011

Syntax

C#
public FailureResolutionType GetCurrentResolutionType()
Visual Basic
Public Function GetCurrentResolutionType As FailureResolutionType
Visual C++
public:
FailureResolutionType GetCurrentResolutionType()

Return Value

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

Remarks

If the current resolution type was never set for the failure, FailureResolutionType::Default is returned.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException This FailureMessageAccessor has not been properly initialized. -or- This FailureMessageAccessor does not have any resolutions.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →