M

Create

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