FailureDefinitionAccessor
Description:
A class that provides access to the details of a FailureDefinition after the definition has been defined.
A class that provides access to the details of a FailureDefinition after the definition has been defined.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.FailureDefinitionAccessor
System.Object
Autodesk.Revit.DB.FailureDefinitionAccessor
public class FailureDefinitionAccessor : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetApplicableResolutionTypes() | IList<FailureResolutionType> | Retrieves a list of resolution types applicable to the failure. |
| GetDefaultResolutionType() | FailureResolutionType | Retrieves the default resolution type for the failure. |
| GetDescriptionText() | The description text. | Retrieves the description text of the failure. |
| GetId() | FailureDefinitionId | Retrieves the unique identifier of the FailureDefinition. |
| GetResolutionCaption(FailureResolutionType) | string | Retrieves the caption for a specific resolution type. |
| GetSeverity() | FailureSeverity | Retrieves severity of the failure. |
| HasResolutions() | bool | Checks if the FailureDefinition has at least one resolution. |
| IsResolutionApplicable(FailureResolutionType) | bool | Checks if the given resolution type is applicable to the failure. |
| SetDefaultResolutionType(FailureResolutionType) | None | Sets the default resolution type for the failure. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |