LabelUtils.GetLabelFor
Description:
Gets the user-visible name for a UnitType.
Gets the user-visible name for a UnitType.
Remarks:
The name is obtained in the current Revit language.
The name is obtained in the current Revit language.
Overloads (12):
GetLabelFor(UnitType)
-
unitTypeThe UnitType to get the user-visible name.
Return Value
string
-
Cannot find UnitTypeInfo for the UnitType.
-
A value passed for an enumeration argument is not a member of that enumeration