After reading through the documentation of the new arcpy.nax library, specifically ODCostMatrix and related objects, I attempted to port over a script that was using arcpy.na. Unfortunately the Lines output remains stubbornly blank using mostly default inputs, and I am having trouble diagnosing why that is. I've tried changing several of the inputs but none of them seem to fill the Lines output.
Here is the portion of my script using ODCostMatrix:
Here is the description of my network. It was a pre-existing network, and I added the "Basic" travel mode so it would work with arcpy.nax.
Data Type: File Geodatabase Network Dataset
Feature Dataset: RDIDataSet1
Dataset Version: 10.0
Build Status: Built
The network dataset has been built.
Build Time: Fri Aug 30 18:39:27 2019
Streets1 edges use End Point connectivity policy.
Elevation Model: Elevation Fields
Default Travel Mode: Basic
Travel Mode: Basic
Collection of network dataset settings that define actions that are allowed on the
network and how the actions can be performed.
Allowed U-Turns: All
Data Type: double
Used By Travel Modes:
Streets1 (Bi-Directional): Field Script (VBScript)
The full script is attached. Any help is appreciated!