2021 Method
Changes 0
M

Parameter.AssociateWithGlobalParameter

Description:
Associates this parameter with a global parameter in the same document.
Remarks:

The parameter must be parameterizable, meaning it cannot be read-only, driven by a formula, or have any other restrictions imposed by Revit.

The parameter's value type must match the type of the global parameter.

Once associated property can be later dissociated by calling the DissociateFromGlobalParameter. method

public void AssociateWithGlobalParameter(
	ElementId gpId
)