C

Units

Version comparison

Members across versions

14 members across 9 versions · 4 added later · 4 removed · 4 changed · 4 obsolete

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
C Units(UnitSystem)
same same same same same same same same same
same same same same same same same same same
M GetFormatOptions(UnitType)
same changed missing missing missing missing missing missing missing
M GetFormatOptions(ForgeTypeId)
not yet introduced added same same same same same same same
not yet introduced added same same same same same same same
same changed missing missing missing missing missing missing missing
M IsModifiableSpec(ForgeTypeId)
not yet introduced added same same same same same same same
M IsModifiableUnitType(UnitType)
same changed missing missing missing missing missing missing missing
M SetFormatOptions(UnitType, FormatOptions)
same changed missing missing missing missing missing missing missing
M SetFormatOptions(ForgeTypeId, FormatOptions)
not yet introduced added same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2021).
2021 current

Changes in 2020 vs 2021 4 missing 4 changed

Flip API Versions →

Missing in 2020 (only available in 2021)

Changed members

Units.GetFormatOptions(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 `GetFormatOptions(ForgeTypeId)` overload instead.
unitType UnitType The unit type.
→ returns FormatOptions A copy of the FormatOptions.
Units.GetModifiableUnitTypes()
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetModifiableSpecs()` method instead.
→ returns IList The unit types for which the FormatOptions can be modified.
Units.IsModifiableUnitType(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 `IsModifiableSpec(ForgeTypeId)` method instead.
unitType UnitType The unit type to check.
→ returns Boolean True if the FormatOptions can be modified, false otherwise.
Units.SetFormatOptions(UnitType, FormatOptions)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `SetFormatOptions(ForgeTypeId, FormatOptions)` overload instead.
unitType UnitType The unit type.
options FormatOptions The FormatOptions.