Esri UK Store

Main Services Learning Credit FAQs Certification

Advanced ArcPy for ArcGIS Pro


This course builds upon the concepts taught in the Creating Python Scripts for ArcGIS Pro course. The course uses a combination of lectures, student activities, demonstrations and laboratory-based exercises to work with the ArcGIS Pro project, accessing the geodatabase as well as delving deeper into the ArcPy site package.

The course will contain a number of exercises for you to work through on the day using the PyCharm developer environment and the built in ArcGIS Notebook environment. At the end of the course you will be provided with the course data, demos, tools along with additional Python specific resources which are relevant to the course.

PLEASE NOTE: This course is currently in development and contents therefore may vary slightly from those shown.

NOTE: This course is an updated version of the Mastering ArcPy using Python for ArcMap 10x course which has been redesigned to take into account some of the enhancements offered by the Arcpy version of ArcGIS Pro.

NOTE: Attendees should already have attended the Getting Started with the Python Scripting Language course or have the same equivalent knowledge.
Attendance of the Creating Python Scripts for ArcGIS Pro course is not essential but is strongly recommended as some of the topics in the Writing Advanced Geoprocessing Scripts using Python for ArcGIS Pro course follow on from the initial 3 day course.

I’m interested but I can’t make these dates

This field can't be Empty
3 Days
Who is this course for?
GIS Analysts
GIS Technical Leads
GIS Professionals
GIS Application Developers
Application Developers
Investigate how the updated mapping ( module is used to access the components of ArcGIS Pro Projects and to create enhanced map series.
Examine the data access (arcpy.da) module to process the contents of the geodatabase.
Learn how to distribute your scripts through Python Toolbox Tools.
Perform toolbox validation to reduce errors within your scripts.
Perform dataset and attribute field validation.
Investigate workflows for advanced error message handling.
License and extension validation.
Understand the importance of working with spatial references and how to create them
Investigate how Esri’s Cartographic Information Model (CIM) is accessed through Python

Attendees should already have attended the Getting Started with the Python Scripting Language course or have the equivalent knowledge of Python prior to attending this course.
It is highly recommended that attendees complete the Creating Python Scripts for ArcGIS Pro course. It is important that attendees understand how to:
– Load the arcpy site package into a script
– Run a geoprocessing tool from within Python
– Create a Python Script Tool in the Toolbox
– Work with the three types of data access cursor class
Attendees should also have knowledge of ArcGIS Pro and should either have attended one of the following courses:
Migrating from ArcMap to ArcGIS Pro or An Introduction to ArcGIS Pro for GIS Newcomers or have the equivalent knowledge.

Accessing the contents of the ArcGIS Pro Project:
Project composition; Accessing the Project; Getting access to maps and scenes and layers; investigating layer properties; Working with Page Layouts; using Python to migrate ArcMap documents to ArcGIS Pro; fixing broken data source links.
Using arcpy to create a map series:
What is a map series? Investigating classes to create a map series; examine resources to create a map series using ArcPy and Python.
Validating datasets:
Investigating invalid database names and reserved words; functions to perform dataset and attribute field validation; determining the uniqueness of a dataset and an attribute field name.
License and extension validation:
How is ArcGIS Pro licensed? Checking the ArcGIS Pro product status in your script; check extension availability.
Advanced error handling and messaging:
An overview of error handling in Python; using the Python raise statement; Retrieving messages from the geoprocessor; Writing messages out to the geoprocessor and to the View Details dialog.
Python Script tool validation:
What is Toolbox validation? Working with the ToolValidator class; enable / disable tool parameters; creating a drop-down combo-box through the use of Filters; working with dialog categories; adding help documentation.
Introducing Python Toolboxes:
What is a Python Toolbox? Use a template to create the Python Toolbox and Tool; Using the help system to populate toolbox and tool parameters.
Working with the Data Access module:
Using the da.Walk() function to traverse a directory structure; using the data access module to manage Geodatabase Versions, domains and subtypes; Controlling an edit session for data loading and dataset editing.
Working with spatial references:
What is a spatial reference? Types of spatial reference; Why are spatial references important? Ways to create a spatial reference using ArcPy.
Using Python in ArcGIS Pro:
Use Python and ArcPy within the core ArcGIS Pro interface to create enhanced labelling; Formatting tags; use Python within geoprocessing tools such as the Field Calculator and Calculate Value model only geoprocessing tool.
Introducing the Cartographic Information Model (CIM):
What is the CIM? How can Python be used to manipulate the CIM? Access points in the CIM; manipulating the ArcGIS Pro project through the CIM.