Revit 2025.3 API
Part |
Identifies if the provided member is valid.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsElementValidIntersectingReference( Document document, ElementId elementId )
Public Shared Function IsElementValidIntersectingReference ( document As Document, elementId As ElementId ) As Boolean
public: static bool IsElementValidIntersectingReference( Document^ document, ElementId^ elementId )
static member IsElementValidIntersectingReference : document : Document * elementId : ElementId -> bool
Parameters
- document Document
- The document.
- elementId ElementId
- Element ids to be tested for validity for intersecting references.
Return Value
BooleanTrue if the reference is valid, false otherwise.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also