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.4.2516.0

Syntax

C#
public PressurePipeRun Break(
	Point2d point2d,
	string newPipeRunName
)
Visual Basic
Public Function Break ( _
	point2d As Point2d, _
	newPipeRunName As String _
) As PressurePipeRun
Visual C++
public:
PressurePipeRun^ Break(
	Point2d point2d, 
	String^ newPipeRunName
)

Parameters

point2d
Type: Point2d
2D point used to find the closest point on pipe run path and break at that point.
newPipeRunName
Type: System..::..String
Name for the new pipe run that is separated from this pipe run.

Return Value

The object id of the newly added bend.

Remarks

The pipe run is broken into two, itself that is from the start point to the broken point, and the returned one that is from the broken point to the end point.

Exceptions

ExceptionCondition
[!: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.

See Also