2021 Method Back to 2021
M

IsValidForUnitType

Version comparison

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