Getting started with Python map automation (arcpy.mapping)
ArcGIS 10 provides a new Python mapping module (arcpy.mapping) that allows you to interact with the contents of map documents and layer files without necessarily needing to interactively open an ArcMap session. The methods, properties and functions available in this new map scripting API enable you, for example, to automate changing data sources, modify layer properties, export and print maps, as well as automate the creation of thematic maps and map series. Because the new mapping module is part of the ArcPy geoprocessing framework, scripts can be used within ArcGIS Desktop but also published to ArcGIS Server as geoprocessing services making it much easier to make mapping and printing capabilities available on the server.
The following links are resources that will help you learn more about arcpy.mapping as well as sample scripts available for download:
Help Resources
�?� A new "Introduction to arcpy.mapping" help topic is a great starting point. It includes links to a new arcpy.mapping tutorial and general guidelines for working with arcpy.mapping. ArcGIS Desktop help has a complete section dedicated to the ArcPy mapping module. Embedded within the help topics are over 100 different, practical help samples that can be copied/pasted into your applications. Be sure to review the "Best ways to get started" section.
�?� Basics of Python (for ArcGIS 10). This course teaches fundamental concepts you need to know to create Python scripts in ArcGIS. You will learn guidelines for proper Python syntax, techniques to troubleshoot common errors, and how to use loops to test for conditions and execute different code based on the result. [INDENT]http://training.esri.com/gateway/index.cfm?fa=catalog.webCourseDetail&courseid=2114[/INDENT]
�?� Python Scripting for Map Automation in ArcGIS 10. This course teaches how to automate map production and related data management tasks that would be time-consuming and tedious to perform manually. You will learn how to work with the mapping module of the ArcPy site package to quickly and easily update map layers and map document properties, modify map content, and produce individual maps and map books. [INDENT]http://training.esri.com/gateway/index.cfm?fa=catalog.webCourseDetail&courseid=2054[/INDENT]