GetTypeCatalogString
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2021).
Not present in: 2022, 2023, 2024, 2025, 2025.3, 2026, 2027
2021
current
UnitUtils.GetTypeCatalogString(UnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetTypeCatalogStringForSpec(ForgeTypeId)` method instead.
| unitType | UnitType | The unit type. |
| → returns | String | The type catalog string, or an empty string if the unit type cannot be used in type catalogs. |