2021 Method
Changes 8
M

UnitUtils.GetTypeCatalogString

Description:
Gets the string used in type catalogs to identify a given display unit.
Overloads (2):
GetTypeCatalogString(DisplayUnitType)
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetTypeCatalogStringForUnit(ForgeTypeId)` method instead.")]
public static string GetTypeCatalogString(
	DisplayUnitType displayUnit
)
Return Value string The type catalog string, or an empty string if the display unit cannot be used in type catalogs.