Check if the id is a FillPatternElement or an invalidElementId
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool IsValidFillPatternId(
ElementId patternId
)
Parameters
- patternId ElementId
-
Element id of the FillPatternElement
Return Value
Boolean
True if the id is InvalidElementId, or if the element is a FillPatternElement.
False otherwise.
Exceptions
See Also
Reference