AnsweredAssumed Answered

Python Script to List Visible Layers in Multiple MXDs?

Question asked by kburton_stellee on Jun 5, 2020
Latest reply on Jun 5, 2020 by jskinner-esristaff

Afternoon all,


I have about 50 mxd's I need to go through and export all active layers in the maps to a new geodatabase. 


I've reviewed some of the online arcpy functions and have tested the ListLayers script. However, does anyone have a good script to recurse through a directory of MXD documents, find only those layers that are currently checked on in each map, and export them to a new geodatabase?


I'm also a bit of a novice to python scripting. Any help would be greatly appreciated!