Share

FlowPath.RemoveSegment Method

Remove a flow segment definition by index.



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

Syntax

C#

public void RemoveSegment(
	int index
)

VB

Public Sub RemoveSegment ( 
	index As Integer
)

C++

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

Reference

Was this information helpful?