Break an existing segment and add a new flow segment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.5.1584.0
Syntax
| C# |
|---|
public FlowSegment AddSegment(
int indexOfOriginalSegment,
double distanceFromFlowSegmentStartPoint
) |
| Visual Basic |
|---|
Public Function AddSegment ( _
indexOfOriginalSegment As Integer, _
distanceFromFlowSegmentStartPoint As Double _
) As FlowSegment |
| Visual C++ |
|---|
public:
FlowSegment^ AddSegment(
int indexOfOriginalSegment,
double distanceFromFlowSegmentStartPoint
) |
Parameters
- indexOfOriginalSegment
- Type: System..::..Int32
- distanceFromFlowSegmentStartPoint
- Type: System..::..Double
Remarks
Exceptions
| Exception | Condition |
|---|
| System..::..InvalidOperationException |
When the flow type already has the maximum of 3 flow segments.
|
| System..::..ArgumentException |
Thrown when the index is out of range, or distanceFromFlowSegmentStartPoint is not in (0.0, length of segment).
|
See Also