JiaoXN JiaoXN - 1 year ago 85
Python Question

How do I get the length of shortest route by arcpy after solve the NA

I use arcpy.na.MakeRouteLayer build a layer, and use arcpy.na.AddLocations add two stop points, and use arcpy.na.Solve get the shortest route.
But how can I get the length of the shortest route.

Answer Source

I have solved the problem, the code is shown on the next picture. UPDATE: enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download