<Code Lib>
2021 Method
Changes 8
M

LabelUtils.GetLabelFor(UnitType)

Description:
Gets the user-visible name for a UnitType.
Remarks:
The name is obtained in the current Revit language.

[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetLabelForSpec(ForgeTypeId)` method instead.")]
public static string GetLabelFor(
	UnitType unitType
)

Return Value string

Loading…