Changes in 2020 vs 2021 18 missing 18 changed
Flip API Versions →Missing in 2020 (only available in 2021)
FormatOptions(ForgeTypeId)
FormatOptions(ForgeTypeId, ForgeTypeId)
CanHaveSymbol(ForgeTypeId)
CanHaveSymbol
CanSuppressLeadingZeros(ForgeTypeId)
CanSuppressSpaces(ForgeTypeId)
CanSuppressTrailingZeros(ForgeTypeId)
CanUsePlusPrefix(ForgeTypeId)
GetSymbolTypeId
GetUnitTypeId
GetValidSymbols
GetValidSymbols(ForgeTypeId)
IsValidAccuracy(ForgeTypeId, Double)
IsValidForSpec(ForgeTypeId)
IsValidSymbol(ForgeTypeId, ForgeTypeId)
IsValidSymbol(ForgeTypeId)
SetSymbolTypeId(ForgeTypeId)
SetUnitTypeId(ForgeTypeId)
Changed members
FormatOptions(DisplayUnitType, UnitSymbolType)
Became obsolete in 2021: This constructor is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `FormatOptions(ForgeTypeId, ForgeTypeId)` overload instead.
| displayUnit | DisplayUnitType | The display unit. |
| unitSymbol | UnitSymbolType | The unit symbol. |
FormatOptions(DisplayUnitType, Double)
Became obsolete in 2021: This constructor is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `FormatOptions(ForgeTypeId)` overload and the `Accuracy` property instead.
| displayUnit | DisplayUnitType | The display unit. |
| accuracy | Double | The accuracy. |
FormatOptions(DisplayUnitType, UnitSymbolType, Double)
Became obsolete in 2021: This constructor is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `FormatOptions(ForgeTypeId, ForgeTypeId)` overload and the `Accuracy` property instead.
| displayUnit | DisplayUnitType | The display unit. |
| unitSymbol | UnitSymbolType | The unit symbol. |
| accuracy | Double | The accuracy. |
FormatOptions(DisplayUnitType)
Became obsolete in 2021: This constructor is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `FormatOptions(ForgeTypeId)` overload instead.
| displayUnit | DisplayUnitType | The display unit. |
FormatOptions.CanHaveUnitSymbol(DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanHaveSymbol(ForgeTypeId)` method instead.
| displayUnit | DisplayUnitType | The display unit. |
| → returns | Boolean | True if a unit symbol can be specified, false otherwise. |
FormatOptions.CanHaveUnitSymbol()
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanHaveSymbol()` method instead.
| → returns | Boolean | True if a unit symbol can be specified, false otherwise. |
FormatOptions.CanSuppressLeadingZeros(DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanSuppressLeadingZeros(ForgeTypeId)` overload instead.
| displayUnit | DisplayUnitType | The display unit. |
| → returns | Boolean | True if leading zeros can be suppressed, false otherwise. |
FormatOptions.CanSuppressSpaces(DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanSuppressSpaces(ForgeTypeId)` overload instead.
| displayUnit | DisplayUnitType | The display unit. |
| → returns | Boolean | True if spaces can be suppressed, false otherwise. |
FormatOptions.CanSuppressTrailingZeros(DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanSuppressTrailingZeros(ForgeTypeId)` overload instead.
| displayUnit | DisplayUnitType | The display unit. |
| → returns | Boolean | True if trailing zeros can be suppressed, false otherwise. |
FormatOptions.CanUsePlusPrefix(DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanUsePlusPrefix(ForgeTypeId)` overload instead.
| displayUnit | DisplayUnitType | The display unit. |
| → returns | Boolean | True if a plus prefix can be displayed, false otherwise. |
FormatOptions.GetValidUnitSymbols(DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetValidSymbols(ForgeTypeId)` method instead.
| displayUnit | DisplayUnitType | The display unit. |
| → returns | IList | The valid unit symbols. |
FormatOptions.GetValidUnitSymbols()
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetValidSymbols()` method instead.
| → returns | IList | The valid unit symbols. |
FormatOptions.IsValidAccuracy(DisplayUnitType, Double)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `IsValidAccuracy(ForgeTypeId, double)` overload instead.
| displayUnit | DisplayUnitType | The display unit. |
| accuracy | Double | The accuracy to check. |
| → returns | Boolean | True if the accuracy is valid, false otherwise. |
FormatOptions.IsValidForUnitType(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 `IsValidForSpec(ForgeTypeId)` method instead.
| unitType | UnitType | The unit type. |
| → returns | Boolean | True if the FormatOptions is valid, false otherwise. |
FormatOptions.IsValidUnitSymbol(DisplayUnitType, UnitSymbolType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `IsValidSymbol(ForgeTypeId, ForgeTypeId)` method instead.
| displayUnit | DisplayUnitType | The display unit. |
| unitSymbol | UnitSymbolType | The unit symbol to check. |
| → returns | Boolean | True if the unit symbol is valid, false otherwise. |
FormatOptions.IsValidUnitSymbol(UnitSymbolType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `IsValidSymbol(ForgeTypeId)` method instead.
| unitSymbol | UnitSymbolType | The unit symbol to check. |
| → returns | Boolean | True if the unit symbol is valid, false otherwise. |
FormatOptions.DisplayUnits()
Became obsolete in 2021: This property is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetUnitTypeId()` and `SetUnitTypeId(ForgeTypeId)` methods instead.
| → returns | DisplayUnitType |
FormatOptions.UnitSymbol()
Became obsolete in 2021: This property is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetSymbolTypeId()` and `SetSymbolTypeId(ForgeTypeId)` methods instead.
| → returns | UnitSymbolType |