mardi 30 décembre 2014

Remove grid and graticule using arcpy


I work on arcview 10.3. How can i remove grid and graticule by using arcpy? i have this code:



import arcpy,os,sys,string
import arcpy.mapping
from arcpy import env

env.workspace = r"F:\Projects\Roni\marlogDarom\gis\fuelSt"
for mxd in arcpy.ListFiles("*.mxd"):
print mxd
arcpy.DeleteGridsAndGraticules_cartography("C:/Python_Output/grid_layers.gdb
/QUAD_24K", "Plaza Washington (Quad_24K_NAD83)")
print 'delete'
mapdoc.save()
del mxd


this code delete complitly the grid, and i want just to remove it. anyone know how to do it?





Aucun commentaire:

Enregistrer un commentaire