Changes in 2020 vs 2024 1 added 7 missing 5 changed
Flip API Versions →Added in 2020 (new since 2024)
Missing in 2020 (only available in 2024)
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(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(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.IsUserAssignableParameterGroup(BuiltInParameterGroup)
Became obsolete in 2024: This method is deprecated in Revit 2024 and may be removed in a future version of Revit. Please use the `IsUserAssignableParameterGroup(ForgeTypeId)` method instead.
| parameterGroup | BuiltInParameterGroup | |
| → returns | Boolean | True if the parameter group can be assigned to new parameters, false otherwise. |
FamilyManager.ReplaceParameter(FamilyParameter, 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 `ReplaceParameter(FamilyParameter, ExternalDefinition, ForgeTypeId, bool)` method instead.
| currentParameter | FamilyParameter | The current family parameter. |
| familyDefinition | ExternalDefinition | The definition of the loaded shared parameter. |
| parameterGroup | BuiltInParameterGroup | The group to which the new shared parameter belongs. |
| isInstance | Boolean | Indicates if the new parameter is instance or type. |
| → returns | FamilyParameter | If replacement was successful the new shared parameter is returned, otherwise an exception with failure information will be thrown. |
FamilyManager.ReplaceParameter(FamilyParameter, String, 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 `ReplaceParameter(FamilyParameter, ExternalDefinition, ForgeTypeId, bool)` method instead.
| currentParameter | FamilyParameter | The current family parameter. |
| parameterName | String | The name of the new family parameter. |
| parameterGroup | BuiltInParameterGroup | The group to which the new family parameter belongs. |
| isInstance | Boolean | Indicates if the new parameter is instance or type. |
| → returns | FamilyParameter | If replacement was successful the new family parameter is returned, otherwise an exception with failure information will be thrown. |