arcpy.Solve_na(outNALayer) routes = outNALayer + '\\Routes'
arcpy.Copy_management(routes, "C:\\output\\routesOutput.shp")
Hi JamesWell, I've managed to write the code that will loop through all your layers in the mxd remembering there names 'ListLayers' but I'm flumaxed as to how to export them. The saveas property of Layer exports everything to a layer file rather than a shapefile.sorry, I can't be more helpful.Claire
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.