2022 Method Back to 2022
M

ReplaceParameter

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2022).
Identical to 2022: 2020, 2021, 2023
Not present in: 2025, 2025.3, 2026, 2027
2022 current
FamilyManager.ReplaceParameter(FamilyParameter, String, BuiltInParameterGroup, Boolean)
No longer obsolete in 2022 (was obsolete in 2024)
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.