Revit 2025 API
Plumbing |
Checks if there is open piping connector for the given element - object of pipe curve, pipe fitting or pipe accessory.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool HasOpenConnector( Document document, ElementId elemId )
Public Shared Function HasOpenConnector ( document As Document, elemId As ElementId ) As Boolean
public: static bool HasOpenConnector( Document^ document, ElementId^ elemId )
static member HasOpenConnector : document : Document * elemId : ElementId -> bool
Parameters
Return Value
BooleanTrue if given element has open piping connector, false otherwise.

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