Sets the default resolution type for the failure.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SetDefaultResolutionType( FailureResolutionType type )
Parameters
- type FailureResolutionType
- The type of resolution to be used as default.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Resolution of the type is not applicable to the failure. |
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
| InvalidOperationException | The FailureDefinitionAccessor has not been properly initialized. -or- FailureDefinition does not have any resolutions. |
