GetFormatOptions
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
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. |