Hi, I want to include the "Generate OD-Cost Matrix (Ready to Use)" tool in a python script. According to the online tool help available at https://pro.arcgis.com/en/pro-app/latest/tool-reference/ready-to-use/itemdesc-generateorigindestinationcostmatrix.htm, it is possible to modify the properties of the origins and destinations. By default, the tool returns the feature IDs of the origins and destinations in the output table. Instead of these IDs I want to get specific codes in the output table in the fields OriginName and DestinationName, respectively. Unfotrunately, the online help does not demonstrate how I can modify the properties of the origins and destinations to accomplish this.
Does anyone have code snippets that show how I can change these properties in a python script?
Thanks, Carsten