DissociateFromGlobalParameter Method


Dissociates this parameter from a global parameter.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.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

Exception Condition
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

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →