2022 Members Back to 2022
M

GlobalParameter

Version comparison

Members across versions

21 members across 9 versions · 1 added later · 2 removed · 2 changed · 2 obsolete

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

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
same same same same same same same same same
M CanLabelDimension(ElementId)
same same same same same same same same same
M Create(Document, String, ParameterType)
same same changed missing missing missing missing missing missing
M Create(Document, String, ForgeTypeId)
not yet introduced 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 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
M IsValidDataType(ParameterType)
same same changed missing missing missing missing missing missing
M IsValidFormula(String)
same same same same same same same same same
M LabelDimension(ElementId)
same same same same same same same same same
M SetDrivingDimension(ElementId)
same same same same same same same same same
M SetFormula(String)
same same same same same same same same same
M SetValue(ParameterValue)
same same same same same same same same same
M UnlabelDimension(ElementId)
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 (2022).
Not present in: 2025, 2025.3, 2026, 2027
2022 current

Changes in 2020 vs 2022 1 missing 2 changed

Flip API Versions →

Missing in 2020 (only available in 2022)

Changed members

GlobalParameter.Create(Document, String, 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 Create(Document, string, ForgeTypeId) overload instead.
document Document Document in which the new parameter is to be created
name String The name of the new parameter. It must be unique in the document
datatype ParameterType Type of the data the parameter is to store
→ returns GlobalParameter An instance of the new global parameter
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.

Changes in 2021 vs 2022 1 missing 2 changed

Flip API Versions →

Missing in 2021 (only available in 2022)

Changed members

GlobalParameter.Create(Document, String, 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 Create(Document, string, ForgeTypeId) overload instead.
document Document Document in which the new parameter is to be created
name String The name of the new parameter. It must be unique in the document
datatype ParameterType Type of the data the parameter is to store
→ returns GlobalParameter An instance of the new global parameter
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.