I am using network analyst in ArcMap 10.2 to generate multiple routes (appx 100). When I export directions as xml using arcpy.Directions_na it only produces directions for one of the 100 routes not all 100. Any ideas?
Thanks Joe and Dan. I figured out the issue. For style name it was defaulting to "NA Desktop" which outputs only the first route. To output all routes you need to set the style to "NA Navigation".
first or last or random one?
I've never exported directions to xml, but is it possible you have just one route selected?
Retrieving data ...