M

AddParameter

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2024).
Not present in: 2025, 2025.3, 2026, 2027
2024 current
FamilyManager.AddParameter(ExternalDefinition, BuiltInParameterGroup, Boolean)
Became obsolete in 2024: This method is deprecated in Revit 2024 and may be removed in a future version of Revit. Please use the `AddParameter(ExternalDefinition, ForgeTypeId, bool)` method instead.
familyDefinition ExternalDefinition The definition of the loaded shared parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
isInstance Boolean Indicates if the new parameter is instance or type.
→ returns FamilyParameter If creation was successful the new shared parameter is returned, otherwise an exception with failure information will be thrown.
FamilyManager.AddParameter(ExternalDefinition, BuiltInParameterGroup, Boolean)
Became obsolete in 2024: This method is deprecated in Revit 2024 and may be removed in a future version of Revit. Please use the `AddParameter(ExternalDefinition, ForgeTypeId, bool)` method instead.
familyDefinition ExternalDefinition The definition of the loaded shared parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
isInstance Boolean Indicates if the new parameter is instance or type.
→ returns FamilyParameter If creation was successful the new shared parameter is returned, otherwise an exception with failure information will be thrown.
FamilyManager.AddParameter(ExternalDefinition, BuiltInParameterGroup, Boolean)
Became obsolete in 2024: This method is deprecated in Revit 2024 and may be removed in a future version of Revit. Please use the `AddParameter(ExternalDefinition, ForgeTypeId, bool)` method instead.
familyDefinition ExternalDefinition The definition of the loaded shared parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
isInstance Boolean Indicates if the new parameter is instance or type.
→ returns FamilyParameter If creation was successful the new shared parameter is returned, otherwise an exception with failure information will be thrown.
FamilyManager.AddParameter(ExternalDefinition, BuiltInParameterGroup, Boolean)
Became obsolete in 2024: This method is deprecated in Revit 2024 and may be removed in a future version of Revit. Please use the `AddParameter(ExternalDefinition, ForgeTypeId, bool)` method instead.
familyDefinition ExternalDefinition The definition of the loaded shared parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
isInstance Boolean Indicates if the new parameter is instance or type.
→ returns FamilyParameter If creation was successful the new shared parameter is returned, otherwise an exception with failure information will be thrown.