laptop and a wrench

Bug

When supplying the AccumulateAttributeNames parameter when creating a Origin Destination Cost Matrix object using arcpy.nax, the output fields names append the modes chosen to the end.

ArcGIS Pro
Bug ID Number BUG-000179227
SubmittedSeptember 3, 2025
Last ModifiedSeptember 10, 2025
Applies toArcGIS Pro
Version found3.5.2
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

Accumulated attribute values are reported in output fields with the format Total_[AccumulateAttributeName]_[TimeUnits] and Total_[AccumulateAttributeName]_[DistanceUnits], where TimeUnits and DistanceUnits are the time and distance units specified for the analysis. The script sets odcm.timeUnits = arcpy.nax.TimeUnits.Minutes and odcm.distanceUnits = arcpy.nax.DistanceUnits.Miles, and it accumulates the cost attributes Miles and Minutes. As a result, the output includes fields named Total_Miles_Miles and Total_Minutes_Minutes, which is the expected behavior. Refer to this documentation: https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/origindestinationcostmatrix-output-data-types.htm for more information.

Steps to Reproduce

Bug ID: BUG-000179227

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options