Tests whether an ElementId is of a global parameter in the given document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static bool IsValidGlobalParameter( Document document, ElementId parameterId )
Parameters
- document Document
- The document containing the global parameter.
- parameterId ElementId
- Id of a global parameter
Return Value
BooleanReturns True if the Id is of a valid global parameter; False otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |