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(String, BuiltInParameterGroup, Category, 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(String, ForgeTypeId, Category, bool)` method instead.
parameterName String The name of the new family parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
familyCategory Category The category to which the new family parameter binds.
isInstance Boolean Indicates if the new family parameter is instance or type.
→ returns FamilyParameter If creation was successful the new parameter is returned, otherwise an exception with failure information will be thrown.
FamilyManager.AddParameter(String, BuiltInParameterGroup, Category, 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(String, ForgeTypeId, Category, bool)` method instead.
parameterName String The name of the new family parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
familyCategory Category The category to which the new family parameter binds.
isInstance Boolean Indicates if the new family parameter is instance or type.
→ returns FamilyParameter If creation was successful the new parameter is returned, otherwise an exception with failure information will be thrown.
FamilyManager.AddParameter(String, BuiltInParameterGroup, Category, 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(String, ForgeTypeId, Category, bool)` method instead.
parameterName String The name of the new family parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
familyCategory Category The category to which the new family parameter binds.
isInstance Boolean Indicates if the new family parameter is instance or type.
→ returns FamilyParameter If creation was successful the new parameter is returned, otherwise an exception with failure information will be thrown.
FamilyManager.AddParameter(String, BuiltInParameterGroup, Category, 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(String, ForgeTypeId, Category, bool)` method instead.
parameterName String The name of the new family parameter.
parameterGroup BuiltInParameterGroup The group to which the family parameter belongs.
familyCategory Category The category to which the new family parameter binds.
isInstance Boolean Indicates if the new family parameter is instance or type.
→ returns FamilyParameter If creation was successful the new parameter is returned, otherwise an exception with failure information will be thrown.