I'm trying to run a model that gets stops from an in_memory workspace and creates a route with directions based on the route, here is what the model looks like:
The following error (error 030024: Solve returned a failure) Occurs:
I understand that the model doesn't recognize the stops I put in the in_memory, but as I couldn't find documentation on how to enter data into the in_memory and use it as model input (all documentation I found was how to use in_memory for the output), could anyone explain how it's done?
I need to make the stops come from in_memory (and not a shp) as the model is supposed to turn into a geoprocessing package (gpk) in which the user will have to input the stops by clicking them on the map.
in_memory
needs to be a file. You write the output file from a process toin_memory\your_file.shp
. If you want to use it, you access it the same wayin_memory\your_file.shp
. How did you put the stops inin_memory
?