PipingSystemCreateHydraulicSeparation Method |
Creates new system which is hydraulically separated from the existing system.
Namespace: Autodesk.Revit.DB.PlumbingAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static ISet<ElementId> CreateHydraulicSeparation(
Document document,
ISet<ElementId> pipeElementIds
)
Public Shared Function CreateHydraulicSeparation (
document As Document,
pipeElementIds As ISet(Of ElementId)
) As ISet(Of ElementId)
public:
static ISet<ElementId^>^ CreateHydraulicSeparation(
Document^ document,
ISet<ElementId^>^ pipeElementIds
)
static member CreateHydraulicSeparation :
document : Document *
pipeElementIds : ISet<ElementId> -> ISet<ElementId>
Parameters
- document Document
-
The document where the new system is created.
- pipeElementIds ISetElementId
-
The boundary pipe that defines a new system. Multiple pipes are allowed to create more than one separated systems.
Return Value
ISetElementId
The newly created piping system elements.
ExceptionsException | Condition |
---|
ArgumentException |
One or more elements is not a pipe.
-or-
One or more elements is already the loop boundary.
-or-
One or more elements can not be used as loop boundary. Check if the element connects to any junction.
|
ArgumentNullException |
A non-optional argument was null
|
Remarks
Hydraulically separated systems allow independent flow and pressure analysis for each hydraulic loop.
For example, each hydraulic loop has its own cirtical path. The calculated pressure drop on the primary
pump is consisted of all pressure drop on the primary critical path. Any pressure drop on the secondary
loop would only contribute to the calculated pressure drop of the secondary pump.
See Also