I have the following code:
mxd["C1"] = arcpy.mapping.MapDocument(os.path.join(fRoot, filename)) mxd["C2"] = [arcpy.mapping.MapDocument(os.path.join(fRoot, filename))]
C1 creates a geoprocessing Map object
C2 creates a MapDocument object
What is the difference between them in terms of functionality and/or limitations?
UPDATE: Still not really sure what the difference is but found out in order to run my program I required to have geoprocessing Map objects and not MapDocument objects.
Things like mxd.save(), and assigning the dataframe only seem to work with the geoprocessing object.