mxd = arcpy.mapping.MapDocument("Current") outPath = 'C:\\Temp\\' # for example... lyrList = arcpy.mapping.ListLayers(mxd) for lyr in lyrList: # iterate over the layers arcpy.FeatureClassToShapefile_conversion(lyr,outPath)
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.