FlowPathRemoveFlowSegment Method |
Remove a flow segment definition by index.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
Syntaxpublic void RemoveFlowSegment(
int index
)
Public Sub RemoveFlowSegment (
index As Integer
)
public:
void RemoveFlowSegment(
int index
)
Parameters
- index Int32
-
Exceptions| Exception | Condition |
|---|
| InvalidOperationException |
When the current time of concentration method is not yet supported by this API.
Also thrown 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