FlowPathAddFlowSegment Method

Break an existing segment and add a new flow segment.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
Syntax
public FlowSegmentBase AddFlowSegment(
	int indexOfOriginalSegment,
	double distanceFromFlowSegmentStartPoint
)

Parameters

indexOfOriginalSegment  Int32
 
distanceFromFlowSegmentStartPoint  Double
 

Return Value

FlowSegmentBase
Exceptions
ExceptionCondition
InvalidOperationException When the current time of concentration method is not yet supported by this API. Also thrown when the flow type already has the maximum number of flow segments allowed.
ArgumentException Thrown when the index is out of range, or distanceFromFlowSegmentStartPoint is not in (0.0, length of segment).
Remarks
The original segment will end by the input distance, and a new segment will be created from here to the end of original segment. The new segment will keep the same properties as the previous one.
See Also