2023 Method Back to 2023
M

ReplaceParameter

Version comparison

Per-version detail

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