Breaks the pipe run at a specified point and separate a new pipe run from it.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.280
Syntax
C#
public PressurePipeRun Break( Point2d point2d, string newPipeRunName )
VB
Public Function Break ( point2d As Point2d, newPipeRunName As String ) As PressurePipeRun
C++
public: PressurePipeRun^ Break( Point2d point2d, String^ newPipeRunName )
Parameters
- point2d Point2d
- 2D point used to find the closest point on pipe run path and break at that point.
- newPipeRunName String
- Name for the new pipe run that is separated from this pipe run.
Return Value
PressurePipeRunThe object id of the newly added bend.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] | Thrown when the new pipe run name: 1. Includes any of these special symbols: '\', '"', ',', '/', ';', '?', '*', ':', '='. 2. Only contains whitespace. 3. The specified name is duplicated. |