Hello
I'm trying to create one mxd for each for layer from an existing MXD. I have list of layers in a mxd but I want one mxd to one layer. This is the script I've been using. It copies all of the layers to the new mxd.
import arcpy
... mxd = arcpy.mapping.MapDocument("CURRENT")
... for df in arcpy.mapping.ListLayers(mxd):
df.name
mxd.saveACopy(r"C:\Project\Output\\" + df.name + ".mxd")
... del mxd