UnitUtils.GetUnitSymbolType
Description:
Gets the UnitSymbolType value corresponding to the given symbol identifier.
Gets the UnitSymbolType value corresponding to the given symbol identifier.
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. It will not be replaced, but until its removal it may be used to help migrate code that uses the `UnitSymbolType` enumeration to the `ForgeTypeId` class.")]
public static UnitSymbolType GetUnitSymbolType(
ForgeTypeId symbolTypeId
)
-
symbolTypeIdThe symbol identifier.
-
symbolTypeId is not a symbol identifier. See UnitUtils.IsSymbol(ForgeTypeId) and UnitUtils.GetSymbolTypeId(UnitSymbolType).
-
A non-optional argument was NULL