FlowPathRemoveSegment Method

Note: This API is now obsolete.

Remove a flow segment definition by index. This method has been deprecated. Use RemoveFlowSegment(Int32) instead.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
Syntax
[ObsoleteAttribute("Use FlowPath.RemoveFlowSegment() instead.", false)]
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