Revit 2025 API
Electrical |
Verifies that the current node can connect to the upstream node.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool CanConnectToUpstreamNode( ElementId upstreamNodeId )
Public Function CanConnectToUpstreamNode ( upstreamNodeId As ElementId ) As Boolean
public: bool CanConnectToUpstreamNode( ElementId^ upstreamNodeId )
member CanConnectToUpstreamNode : upstreamNodeId : ElementId -> bool
Parameters
- upstreamNodeId ElementId
- The upstream node id.
Return Value
BooleanTrue if the current node can connect to the upstream node.

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