Tests whether an ElementId is of a global parameter in the given document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.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
Boolean
Returns True if the Id is of a valid global parameter; False otherwise.
Exceptions
See Also
Reference