FlowPathRemoveSegment Method |
Remove a flow segment definition by index.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void RemoveSegment(
int index
)
Public Sub RemoveSegment (
index As Integer
)
public:
void RemoveSegment(
int index
)
Parameters
- index Int32
-
ExceptionsException | Condition |
---|
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