I have a Python script that I'm working on. I have created a Closest Facility layer (in memory). I add facilities. I add incidents. I perform the Solve. These all complete. The only problem is, there doesn't appear to be a way to access any of the results.
I have gotten a describe object off the Network Analysis layer. I got the children of the network analysis layer. I can get the name of each child, but that is the extent. Each child is supposed to be a feature layer, but no layer operations work on any of them: "Error in executing tool". I can get the dataset object for each layer. Each dataset object calls itself a Feature Class. I cannot get any Feature Class operations to work on these "Feature Classes" either. I get the same stupid error.
The documentation on implementing Network Analysis work in Python is woefully incomplete.
How can I gain access to the results of a solve? I just need something I can feed into the arcpy.GetCount tool, nothing else.