I have to loop through some folders which may contain *.mxd files and change their coordinate system. I already found this piece of Python which should do the trick for ArcGIS 10.x (from here):
prjFile = prjPath + "/" + "NAD 1983 UTM Zone 10N.prj" sr = arcpy.SpatialReference(prjFile) for DF in MAP.ListDataFrames(MXD): DF.spatialReference = sr
However, it looks like there is nothing similar to the arcpy.mapping module in 10 available in 9.3. I need to access the MXD file and then the dataframe(s) it contains, in order to change the coordinate system.
I could not find anything useful so far, although I assume that other people may have similar issues.
My question therefore, is there any (simple) workaround to this using Python (arcgisscripting) in ArcGIS 9.3?