2024 Method
Changes 8
M

FamilyManager.ReplaceParameter

Description:
Replace a shared family parameter with a new non-shared family parameter.
[ObsoleteAttribute("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.")]
public FamilyParameter ReplaceParameter(
	FamilyParameter currentParameter,
	string parameterName,
	BuiltInParameterGroup parameterGroup,
	bool isInstance
)
Return Value FamilyParameter If replacement was successful the new family parameter is returned, otherwise an exception with failure information will be thrown.