PressurePipeRunBreak Method

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.292
Syntax
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

PressurePipeRun
The object id of the newly added bend.
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.
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.
See Also