CanBeAssociatedWithGlobalParameters Method


Tests whether this parameter can be associated with any 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 bool CanBeAssociatedWithGlobalParameters()
Visual Basic
Public Function CanBeAssociatedWithGlobalParameters As Boolean
Visual C++
public:
bool CanBeAssociatedWithGlobalParameters()

Return Value

True if the given parameter can be associated (is parametrizable); False otherwise.

Remarks

Only properties defined as parametrizable can be associated with global parameters. That excludes any read-only and formula-driven parameters, as well as those that have other explicit or implicit restrictions imposed by Revit.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException This parameter does not exist in the document anymore.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →