In 10.6, the Make Route Layer command had a property "accumulate_attribute_name" where for each cost attribute that was accumulated, a Total_[Impedance] property was added to the routes that are output . In Pro, is there a property in TravelMode that is equivalent to that property? Thanks!
No, the accumulate attributes are independent from the travel mode.
OK, in that case where should they be input for the solve with the NAX module? I have the code:
arcpy.nax.MakeNetworkDatasetLayer(NDS, NDLayerName)
route = arcpy.nax.Route(NDLayerName)
route.load(arcpy.nax.RouteInputDataType.Stops, Waypoints)
result = route.solve()
I didn't see them as a RouteInputDataType in the documentation and didn't see where else they could be input? Thanks!
Just set the accumulateAttributeNames property of the Route object, the same way you would set the travel mode. The complete list of properties can be found here: Route—ArcGIS Pro | Documentation
That's great! don't know how I missed that. Thanks for your help!