2021 Class
Changes 0
C

FailureDefinitionAccessor

Description:
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
public class FailureDefinitionAccessor : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetApplicableResolutionTypes() IList<FailureResolutionType> Retrieves a list of resolution types applicable to the failure.
M GetDefaultResolutionType() FailureResolutionType Retrieves the default resolution type for the failure.
M GetDescriptionText() The description text. Retrieves the description text of the failure.
M GetId() FailureDefinitionId Retrieves the unique identifier of the FailureDefinition.
M GetResolutionCaption(FailureResolutionType) string Retrieves the caption for a specific resolution type.
M GetSeverity() FailureSeverity Retrieves severity of the failure.
M HasResolutions() bool Checks if the FailureDefinition has at least one resolution.
M IsResolutionApplicable(FailureResolutionType) bool Checks if the given resolution type is applicable to the failure.
M SetDefaultResolutionType(FailureResolutionType) None Sets the default resolution type for the failure.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.