DissociateFromGlobalParameter Method
Dissociates this parameter from a global parameter.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2016 Subscription Update

Syntax

C#
public void DissociateFromGlobalParameter()
Visual Basic
Public Sub DissociateFromGlobalParameter
Visual C++
public:
void DissociateFromGlobalParameter()

Remarks

It is assumed this parameter has been previously associated with the global parameter by using the [!:AssociateWithGlobalParameter(Revit::DB::ElementId^)] method.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentException This parameter does not exist in the document anymore. -or- This parameter is either not parameterizable or does not match the type of the global parameter.

See Also