Changes in 2020 vs 2021 2 missing 2 changed
Flip API Versions →Missing in 2020 (only available in 2021)
Changed members
Field.CompatibleDisplayUnitType(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 `CompatibleUnit(ForgeTypeId)` method instead.
| type | DisplayUnitType | The type to check. |
| → returns | Boolean | True if the type is compatible, false otherwise. |
Field.UnitType()
Became obsolete in 2021: This property is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetSpecTypeId()` method instead.
| → returns | UnitType |