Guest User

Untitled

a guest
Nov 24th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import arcpy
  2. mxd = arcpy.mapping.MapDocument(r'C:UsersDesktopGIS PROGRAMMINGProject.mxd')
  3. Dockets = arcpy.mapping.ListLayers(mxd, "Application Lands")
  4. Applications= Dockets[0]
  5. Applications.definitionQuery = '"Docket"' + " = " + "'1254-2017 '"
  6. mxd.save()
  7. del mxd
Add Comment
Please, Sign In to add comment