FailureDefinitionRegistry
Description:
The global registry for all FailureDefinitions in the Revit session.
The global registry for all FailureDefinitions in the Revit session.
Remarks:
When a FailureDefinition is created, it will be registered in this registry automatically. Registration is allowed only during Revit Application startup - after that FailureDefinitionRegistry is locked and creation of new FailureDefinitions is not allowed. There is only one instance of FailureDefinitionRegistry in session. GetFailureDefinitionRegistry()
When a FailureDefinition is created, it will be registered in this registry automatically. Registration is allowed only during Revit Application startup - after that FailureDefinitionRegistry is locked and creation of new FailureDefinitions is not allowed. There is only one instance of FailureDefinitionRegistry in session. GetFailureDefinitionRegistry()
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.FailureDefinitionRegistry
System.Object
Autodesk.Revit.DB.FailureDefinitionRegistry
public class FailureDefinitionRegistry : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the FailureDefinitionRegistry | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| FindFailureDefinition(FailureDefinitionId) | FailureDefinitionAccessor | Finds a specific FailureDefinition by a given FailureDefinitionId. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ListAllFailureDefinitions() | IList<FailureDefinitionAccessor> | Retrieves all the registered FailureDefinitions. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. |