3

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

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
| improve this answer | |
0

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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