Solved! Go to Solution.
import arcpy from arcpy import env arcpy.env.workspace = "C:\data\ProjectData.gdb" arcpy.GridIndexFeatures_cartography("gridIndexFeatures", "", "", "", "", "1000 meters","1000 meters", "-6000000 -1600000", "15", "20",)
import arcpy from arcpy import env arcpy.env.workspace = "C:\data\ProjectData.gdb" arcpy.GridIndexFeatures_cartography("gridIndexFeatures", "", "", "", "", "1000 meters","1000 meters", "-6000000 -1600000", "15", "20",)