2022 Method Back to 2022
M

IsValidDataType

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2022).
Not present in: 2023, 2024, 2025, 2025.3, 2026, 2027
2022 current
GlobalParameter.IsValidDataType(ParameterType)
Became obsolete in 2022: This method is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the Parameter.IsSpec(ForgeTypeId) function instead.
datatype ParameterType Type of the data the parameter is to store.
→ returns Boolean True if the data type is suitable for a global parameter; False otherwise.
GlobalParameter.IsValidDataType(ParameterType)
Became obsolete in 2022: This method is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the Parameter.IsSpec(ForgeTypeId) function instead.
datatype ParameterType Type of the data the parameter is to store.
→ returns Boolean True if the data type is suitable for a global parameter; False otherwise.