FailureDefinitionId Class

The unique identifier of a FailureDefinition.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: (
Since: 2011


public class FailureDefinitionId : GuidEnum
Visual Basic
Public Class FailureDefinitionId _
	Inherits GuidEnum
Visual C++
public ref class FailureDefinitionId : public GuidEnum


Each possible failure in Revit must be defined and registered during Revit application startup by creating a FailureDefinition object. Unique FailureDefinitionId must be used as a key to register FailureDefinition. Those unique FailureDefinitionId should be created using GUID generation tool. Later FailureDefinitionId can be used to lookup FailureDefinition in FailureDefinitionRegistry, and create and post FailureMessages.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB GuidEnum
Autodesk.Revit.DB FailureDefinitionId

See Also