PipingSystem.DeleteHydraulicSeparation
Method
Description:
Deletes hydraulically separated systems and merges the system components into the connected system.
Deletes hydraulically separated systems and merges the system components into the connected system.
Syntax
public static void DeleteHydraulicSeparation(
Document document,
ISet<ElementId> pipeElementIds
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document where the system is deleted. |
| pipeElementIds | ISet | The boundary pipe that separates the system. Multiple pipes are allowed to delete more than one separated systems. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | One or more elements is not a pipe. -or- One or more elements is not a valid loop boundary. |
| ArgumentNullException | A non-optional argument was null |