ArcObjects Library Reference (EditorExt)  

TracePathTask CoClass

Trace task used by the Utility Network Analysis extension for finding a path between the specified flags in the current network.

Product Availability

Available with ArcGIS Desktop.

Description

The TracePathTask object finds a path on the current network between all flags on the current network.

Supported Platforms

Windows

Interfaces

Interfaces Description
ITracePathTaskResults Provides access to members that return cost information about the path or tree found by certain trace tasks.
ITraceTask Provides access to members that execute a trace task.
ITraceTaskResults Provides access to members that return the network elements returned by the trace task.

Remarks

The flags you place on the network must be either all edge flags or all junction flags. You cannot find a path among a mixture of edge and junction flags.

If sets of flags are placed on different connected components in the network, the TracePathTask will attempt to find a path for each connected component.

If you do not specify weights for your trace task, the TracePathTask will return the path with the fewest number of network elements.

If you do specify weights for your trace task, the TracePathTask will treat network elements with negative weight values as having infinite cost.

See Also

FindLoopsTask Class | FindAncestorsTask Class | FindConnectedTask Class | TraceUpstreamTask Class | TraceDownstreamTask Class | TracePathTask Class | UtilityNetworkAnalysisExt Class