Remove a flow segment definition by index.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.5.1584.0

Syntax

C#
public void RemoveSegment(
	int index
)
Visual Basic
Public Sub RemoveSegment ( _
	index As Integer _
)
Visual C++
public:
void RemoveSegment(
	int index
)

Parameters

index
Type: System..::..Int32

Remarks

If it's the first segment, it will be merged to the next segment. Otherwise, this segment will be merged to the previous segment.

Exceptions

ExceptionCondition
System..::..InvalidOperationException When the flow Path only contains one flow segment. Use FlowPath.Clear() instead to clear the path.
System..::..ArgumentException When the index is out of range.

See Also