ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / TraceConfiguration Class / ShortestPathNetworkAttribute Property

In This Topic
    ShortestPathNetworkAttribute Property
    In This Topic
    The ArcGIS.Core.Data.UtilityNetwork.NetworkAttribute used to calculate the shortest path when using the ShortestPathTracer.
    Syntax
    Public Property ShortestPathNetworkAttribute As NetworkAttribute
    public NetworkAttribute ShortestPathNetworkAttribute {get; set;}
    Remarks
    Typically, Shape Length is used. One counterexample might be if you are looking for the shortest path through an underground system. You might prefer a longer path via duct banks, versus a shorter path through a trench that requires excavation, since the excavation might be more costly. In this case, you would set up a network attribute that represents these costs.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also