LabelUtils.GetLabelForUnit
Description:
Gets the user-visible name for a unit.
Gets the user-visible name for a unit.
Remarks:
The name is obtained in the current Revit language.
The name is obtained in the current Revit language.
public static string GetLabelForUnit(
ForgeTypeId unitTypeId
)
-
unitTypeIdIdentifier of the unit to get the user-visible name.
-
Cannot find DisplayUnitTypeInfo for the given unit identifier.
-
A non-optional argument was null