2024 Method
Changes 2
M

FamilyManager.ReplaceParameter

Description:
Replace a shared family parameter with a new non-shared family parameter.
public FamilyParameter ReplaceParameter(
	FamilyParameter currentParameter,
	string parameterName,
	ForgeTypeId groupTypeId,
	bool isInstance
)
  • currentParameter
    The current family parameter.
  • String
    parameterName
    The name of the new family parameter.
  • groupTypeId
    The identifier of the group to which the new family parameter belongs.
  • Boolean
    isInstance
    Indicates if the new parameter is instance or type.
Return Value FamilyParameter If replacement was successful the new family parameter is returned, otherwise an exception with failure information will be thrown.