2021 Method
Changes 8
M

UnitUtils.GetTypeCatalogString

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