Changes in 2020 vs 2022 7 missing 1 changed
Flip API Versions →Missing in 2020 (only available in 2022)
AddParameter(String, ForgeTypeId, Category, Boolean)
AddParameter(String, ForgeTypeId, ForgeTypeId, Boolean)
AddParameter(ExternalDefinition, ForgeTypeId, Boolean)
GetParameter(ForgeTypeId)
IsUserAssignableParameterGroup(ForgeTypeId)
ReplaceParameter(FamilyParameter, String, ForgeTypeId, Boolean)
ReplaceParameter(FamilyParameter, ExternalDefinition, ForgeTypeId, Boolean)
Changed members
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. |