| Products: ArcEditor: VB6 Platforms: WindowsRequires: Network data.Minimum ArcGIS Release: 9.0 |
How to use:
- Register the dll on your machine. Use Categories.exe (found under the ArcInfo bin directory) to add the dll the appropriate component categories. Add the TraceResultsWin class to 'ESRI Mx Dockable Windows' and TraceResultsCmd class to 'ESRI Mx Commands'.
- Start an ArcMap session and load your network date. Turn on the Utility Network Analysis toolbar.
- Bring up the customize dialog and find the "Trace Results Window ..." command under the Developer Samples category. Drag and drop this command onto the Analysis dropdown of the Utility Network Analysis toolbar.
- Select the "Trace Results Window ..." command and a new dockable window will be displayed. Dock the window as desired.
- Execute a trace as you would normally. Select the "Add" button on the Trace Results Window and the last trace will be added. The color of the entry in the window corresponds to the color the results will be drawn in. Add additional traces to the window as desired.
- To stop a trace from drawing, uncheck it in the Results window.
- To remove a trace from the window, highlight it and then select the "Remove" button.
- To remove all traces select the "Remove All" button.
- To select features higlight the trace you are interested in and then click on the "Selection Set" button.
- The Layer Subsets button will select features based on the specified trace, then create new layers in a single group layer based on the selection. This would allow the user to make a plot of just the results of the trace.
- The Path Cost button will popup the cost of a Find Path trace (the cost is based on specified weights - or simply the number of features traversed if no weight has been specified), but will not show the cost of any other trace.
- Use the Up and Down arrows to change the drawing order of the saved traces.
| frmTraceResults.frm | Form containing the controls for the Trace Results Window. |
| TraceResults.cls | Internal class used to keep track of the trace results. |
| TraceResultsCmd.cls | Class for bringing up the Trace Results dockable window. |
| TraceResultsWin.cls | Class for defining the dockable window and displaying the trace results. |
| TraceResultsWinPrj.vbp | Project file for the Trace Resuls Window project. |
Download the files for all languages
Key CoClasses:UtilityNetworkAnalysisExt
Key Interfaces: IEnumNetEid, ITraceTasks, ITraceTaskResult, IUtilityNetworkAnalsisExt, IUtilityNetworkAnalsisExtResultColor
Key Members:IEnumNetEid::Next, ITraceTasks::CurrentTask, ITraceTaskResult::ResultEdges, ITraceTaskResult::ResultJunctions, IUtilityNetworkAnalsisExt::CurrentNetwork, IUtilityNetworkAnalsisExtResultColor::Color
