Parameter.CanBeAssociatedWithGlobalParameters
Method
Description:
Tests whether this parameter can be associated with any global parameter.
Tests whether this parameter can be associated with any global parameter.
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.
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 |
---|---|
ArgumentException | This parameter does not exist in the document anymore. |