IsResolutionApplicable Method


Checks if the given resolution type is applicable to the failure.

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

Syntax

C#
public bool IsResolutionApplicable(
	FailureResolutionType type
)
Visual Basic
Public Function IsResolutionApplicable ( _
	type As FailureResolutionType _
) As Boolean
Visual C++
public:
bool IsResolutionApplicable(
	FailureResolutionType type
)

Parameters

type
Type: Autodesk.Revit.DBFailureResolutionType
The resolution type to check.

Return Value

True if the given resolution type is applicable to the failure, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
Autodesk.Revit.ExceptionsInvalidOperationException The FailureDefinitionAccessor has not been properly initialized.

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 →