Retrieves the unique identifier of the FailureDefinition.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public FailureDefinitionId GetId()
Return Value
FailureDefinitionIdThe unique identifier of the FailureDefinition.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The FailureDefinitionAccessor has not been properly initialized. |