Removes PressurePipeRun from the collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.208.0
Syntax
C#
public void Remove( PressurePipeRun pipeRun, bool removeParts, bool removePath )
Visual Basic
Public Sub Remove ( _ pipeRun As PressurePipeRun, _ removeParts As Boolean, _ removePath As Boolean _ )
Visual C++
public: void Remove( PressurePipeRun^ pipeRun, bool removeParts, bool removePath )
Parameters
- pipeRun
- Type: Autodesk.Civil.DatabaseServices.PressurePipeRun
Specifies the piperun object to remove.
- removeParts
- Type: System.Boolean
Specifies whether to delete all the parts along the pipe run.
- removePath
- Type: System.Boolean
Specifies whether to delete the underlying alignment.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Throw when the specified pipeRun cannot be found in the collection. |