AddParameter
Version comparisonPer-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
FamilyManager.AddParameter(String, BuiltInParameterGroup, ParameterType, Boolean)
Became obsolete in 2022: This property is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the AddParameter(string, ForgeTypeId, ForgeTypeId, bool) overload instead.
| parameterName | String | The name of the new family parameter. |
| parameterGroup | BuiltInParameterGroup | The group to which the family parameter belongs. |
| parameterType | ParameterType | The type of new family parameter. |
| 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, ParameterType, Boolean)
Became obsolete in 2022: This property is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the AddParameter(string, ForgeTypeId, ForgeTypeId, bool) overload instead.
| parameterName | String | The name of the new family parameter. |
| parameterGroup | BuiltInParameterGroup | The group to which the family parameter belongs. |
| parameterType | ParameterType | The type of new family parameter. |
| 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. |