POST
|
if this helps. 10.1 SP1 import arcpy, os
#workspace to search for MXDs
Workspace = r"C:\Geo"
arcpy.env.workspace = Workspace
#list map documents in folder
mxdList = arcpy.ListFiles("*.mxd")
#set relative path setting for each MXD in list.
for file in mxdList:
#set map document to change
filePath = os.path.join(Workspace, file)
mxd = arcpy.mapping.MapDocument(filePath)
#set relative paths property
mxd.relativePaths = True
#save map doucment change
mxd.save()
... View more
11-25-2013
02:12 PM
|
0
|
0
|
340
|
POST
|
is there any code to check if an mxd has data driven pages activated? e.g. if datadrivenpages = true then xx else yy
... View more
09-01-2013
11:40 PM
|
0
|
3
|
518
|
POST
|
Is there a way to store your data in SQL Server 2012 and therefore use the edit widget without the need for SDE? Has anybody had ssuccess doing this? :confused:
... View more
05-11-2013
04:26 AM
|
0
|
0
|
260
|
POST
|
Hi Steve, Yes. I could access the method properties etc. After rebooting and returning to this problem it seems to have fixed itself. I can now export. Not sure why. Thanks for your help. Peter
... View more
03-17-2013
03:43 PM
|
0
|
0
|
274
|
POST
|
When I try and export a geostatistical layer from an Arcmap mxd (to a grid) it doesn't work. "input geostatistical layer does not exist or is not supported" Well it does, because I just dragged it in into the tool? Any ideas? :cool: 10.1 SP1 Geostat Extension On Win 7 64Bit [ATTACH=CONFIG]22388[/ATTACH]
... View more
03-05-2013
02:41 PM
|
0
|
2
|
2357
|
POST
|
Does anyone know if this is attachment functionality is now working in 10.1 as promised?
... View more
11-14-2012
09:11 AM
|
0
|
0
|
678
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|