Share

FailureDefinitionAccessor Class

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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class FailureDefinitionAccessor : IDisposable

The FailureDefinitionAccessor type exposes the following members.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the FailureDefinitionAccessor
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetApplicableResolutionTypes Retrieves a list of resolution types applicable to the failure.
Public methodGetDefaultResolutionType Retrieves the default resolution type for the failure.
Public methodGetDescriptionText Retrieves the description text of the failure.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetId Retrieves the unique identifier of the FailureDefinition.
Public methodGetResolutionCaption Retrieves the caption for a specific resolution type.
Public methodGetSeverity Retrieves severity of the failure.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasResolutions Checks if the FailureDefinition has at least one resolution.
Public methodIsResolutionApplicable Checks if the given resolution type is applicable to the failure.
Public methodSetDefaultResolutionType Sets the default resolution type for the failure.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?