AnsweredAssumed Answered

Listing feature classes that are in use by an mxd

Question asked by jmork045 on Nov 5, 2012
Latest reply on Nov 5, 2012 by jmork045
I am trying to get a list of all feature classes that are in use by an mxd using a python script. I can access the map document through arcpy.mapping and list all of the layers, but I am having a difficult time listing the feature classes that are being used. The layer names within the map document have been changed from the original feature class, so listlayers does not give me an accurate description of the actual feature classes in use. If anyone has an idea of how to do this through a script it would be greatly appreciated. It is a simple script, where I want to create a list of feature classes in use by the mxd and copy them out to an xls file, but this one little thing is holding me up.