2022 Method
Changes 5
M

FamilyManager.ReplaceParameter

Description:
Replace a shared family parameter with a new non-shared family parameter.
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.