3

Does anyone know what ArcObjects interface and method the Trace Downstream trace task on Arcmap's Utility Network Analyst toolbar calls?

2 Answers 2

1

My guess is ITraceFlowSolverGEN and the methods FindFlowElements or FindFlowEndElements, but I only guess that because of the ArcObjectsRoutines code found in the 9.3.1 NetworkTraceTask on the arcscripts site.

Dim pNewTrace As ESRI.ArcGIS.NetworkAnalysis.ITraceFlowSolverGEN
' ... some code, that constructs and sets up the solver '
   Case "TRACE DOWNSTREAM"
      If bTraceEnds Then
        pNewTrace.FindFlowEndElements(ESRI.ArcGIS.NetworkAnalysis.esriFlowMethod.esriFMDownstream, ESRI.ArcGIS.NetworkAnalysis.esriFlowElements.esriFEJunctionsAndEdges, pJuncEIDs, pEdgeEIDs)
      Else
        pNewTrace.FindFlowElements(ESRI.ArcGIS.NetworkAnalysis.esriFlowMethod.esriFMDownstream, ESRI.ArcGIS.NetworkAnalysis.esriFlowElements.esriFEJunctionsAndEdges, pJuncEIDs, pEdgeEIDs)
      End If
0

Take a look at ESRI.ArcGIS.Geodatabase.IUtilityNetwork (or IUtilityNetworkGEN as appropriate).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.