Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 1 down vote accepted

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

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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