I’m writing a python script to run some network analyst processes. The analysis process runs fine in terms of creating a route layer, adding all the relevant points and restrictions and solving the NA scenario. I have inspected the results by saving out a layer file of the results (using the Save to Layer File tool) and its all in order. This layer file links back to the ‘Memory Feature Class’.
The one issue I’m trying to overcome is how I then save the results as a standard feature class in a geodatabase. I’ve tried several different tools (copy features, features to line etc.), but they are all looking for a feature layer or feature class as the input.
Can someone tell me how I can save from a memory feature class to a standard feature class in python?