Thank you for the advice. I have been using X-ray, but it doesn't quite fit my purpose. I need the mxd info written to a excel sheet to be used as a ArcGIS table.
Also, the most import need is to loop which X-ray is used on the currently opened mxd.
I have the following since I am not sure whether os.walk limitation apples to me since I want to get feature classes information within mxds.
import arcpy, os
workspace = ' xxxxxx '
for root, dirs, files in os.walk(workspace):
for f in files:
mxd = root + '\\' + f
I get a list of mxds which is the first successful step but I need the feature classes.
You'll need to get the DataFrames in your mxd
arcpy.mapping.ListDataFrames("name of mxd")
then you'll need to get the layers in each data frame
arcpy.mapping.ListLayers("name of mxd, "", "name of data frame")