private void TraceUtilityNetworkUsingNamedTraceConfiguration(UtilityNetwork utilityNetwork, NamedTraceConfiguration namedTraceConfiguration, Element startElement) { // Get the trace manager from the utility network using (TraceManager traceManager = utilityNetwork.GetTraceManager()) { // Get a tracer from the trace manager using the named trace configuration Tracer upstreamTracer = traceManager.GetTracer(namedTraceConfiguration); // Trace argument holding the trace input parameters TraceArgument upstreamTraceArgument = new TraceArgument(namedTraceConfiguration, new List<Element> {startElement}); // Trace results IReadOnlyList<Result> upstreamTraceResults = upstreamTracer.Trace(upstreamTraceArgument); } }
System.Object
ArcGIS.Core.Data.UtilityNetwork.Trace.Tracer
ArcGIS.Core.Data.UtilityNetwork.Trace.ConnectedTracer
ArcGIS.Core.Data.UtilityNetwork.Trace.DownstreamTracer
ArcGIS.Core.Data.UtilityNetwork.Trace.IsolationTracer
ArcGIS.Core.Data.UtilityNetwork.Trace.LoopsTracer
ArcGIS.Core.Data.UtilityNetwork.Trace.ShortestPathTracer
ArcGIS.Core.Data.UtilityNetwork.Trace.SubnetworkControllerTracer
ArcGIS.Core.Data.UtilityNetwork.Trace.SubnetworkTracer
ArcGIS.Core.Data.UtilityNetwork.Trace.UpstreamTracer
Target Platforms: Windows 11, Windows 10, Windows 8.1