Namespace:
Autodesk.Revit.DB
FailureDefinitionRegistry
Class
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()
FailureDefinitionRegistry Class Members:
Name | Description | Inherited From |
---|---|---|
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
Name | Description | Inherited From |
---|---|---|
Dispose | Releases all resources used by the FailureDefinitionRegistry | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
FindFailureDefinition | Finds a specific FailureDefinition by a given FailureDefinitionId. | |
GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
ListAllFailureDefinitions | Retrieves all the registered FailureDefinitions. | |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |