FailureDefinitionAccessor
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
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FailureDefinitionAccessor : IDisposableThe FailureDefinitionAccessor type exposes the following members.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the FailureDefinitionAccessor
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetApplicableResolutionTypes
Retrieves a list of resolution types applicable to the failure.
Public Method
GetDefaultResolutionType
Retrieves the default resolution type for the failure.
Public Method
GetDescriptionText
Retrieves the description text of the failure.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetId
Retrieves the unique identifier of the FailureDefinition.
Public Method
GetResolutionCaption
Retrieves the caption for a specific resolution type.
Public Method
GetSeverity
Retrieves severity of the failure.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
HasResolutions
Checks if the FailureDefinition has at least one resolution.
Public Method
IsResolutionApplicable
Checks if the given resolution type is applicable to the failure.
Public Method
SetDefaultResolutionType
Sets the default resolution type for the failure.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)