Check if the id is a FillPatternElement or an invalidElementId
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2024
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- patternId
-
Type:
Autodesk.Revit.DB
ElementId
Element id of the FillPatternElement
Return Value
True if the id is InvalidElementId, or if the element is a FillPatternElement. False otherwise.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |