2024 Method Back to 2024
M

ReplaceParameter

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.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.
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.
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.
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.