Gets the identifier of the unit used to quantify values.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ForgeTypeId GetUnitTypeId()
Return Value
ForgeTypeIdExceptions
Exception | Condition |
---|---|
InvalidOperationException | UseDefault is true in this FormatOptions. |