FlowPathRemoveSegment Method

Remove a flow segment definition by index.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void RemoveSegment(
	int index
)

Parameters

index  Int32
 
Exceptions
ExceptionCondition
InvalidOperationException When the flow Path only contains one flow segment. Use FlowPath.Clear() instead to clear the path.
ArgumentException When the index is out of range.
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.
See Also