Python AddIns for ArcMap made easy using ArcPy
4.7 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
23 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Python AddIns for ArcMap made easy using ArcPy to your Wishlist.

Add to Wishlist

Python AddIns for ArcMap made easy using ArcPy

Gain practical experience in ArcPy and Python
4.7 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
23 students enrolled
Last updated 1/2017
English
Curiosity Sale
Current price: $10 Original price: $25 Discount: 60% off
30-Day Money-Back Guarantee
Includes:
  • 1.5 hours on-demand video
  • 4 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Develop your own Python AddIns for ArcMap
View Curriculum
Requirements
  • You should have ArcGIS Desktop 10.1 or later installed - only a Basic level license is needed - and be able to start ArcMap.
  • You should be familiar with ArcMap and the basics of Python and ArcPy.
  • You should have the Python 2.7.x version installed as part of ArcGIS Desktop and be able to start IDLE (or your choice of IDE) and import arcpy.
Description

When starting to use the ArcPy site-package of ArcGIS Desktop within Python scripting, it is important to understand the workflow for writing and configuring Python AddIns.

This course, which is suitable for English-speaking students from anywhere in the world, was recorded using ArcGIS 10.3.1 for Desktop but should be equally applicable to versions 10.1, 10.2, 10.4 and 10.5. It is not suitable for ArcGIS Desktop 10.0 and earlier versions because Python AddIns only became available at 10.1. ArcGIS for Desktop licensing is not included, but can be obtained for non-commercial purposes from Esri and its International Distributors under the ArcGIS for Personal Use Program.

All necessary data is downloaded from Natural Earth, and solutions to the exercises are available as attachments to download.

In this 89 minute course of 12 videos you will learn how to:

  • Download the Python AddIn Wizard
  • Run the Python AddIn Wizard to create a Toolbar with one Button
  • Use IDLE and Notepad++ to edit Python and XML to configure seven types of Python AddIns
  • Troubleshoot Python AddIns
  • Create a Python AddIn that installs an Extension and a Tool
  • and much more!


    Who is the target audience?
    • This course is for those familiar with ArcMap and the basics of Python and ArcPy.
    Students Who Viewed This Course Also Viewed
    Curriculum For This Course
    12 Lectures
    01:26:49
    +
    Preparing for the course
    4 Lectures 12:14

    The first lecture gives an overview of the topics and exercises which will be covered during the remaining lectures of the course.  It also gives an overview of the ArcGIS Desktop and Python versions that are used during the presentations, and some tips about using Notepad++ for XML editing.  It then gives an overview about downloading the course data from Natural Earth.

    Preview 03:15

    This lecture will assist you to determine whether you are using suitable versions of ArcGIS Desktop (10.1-10.5) and Python (2.7.x) for the course.  It also suggests that you use Notepad++ for XML editing.  If you are already comfortable that you are using suitable software then this lecture can be considered optional.

    Checking your Software and Data Setup
    03:31

    This lecture will assist you to download the Natural Earth data required for this course (and which can also be used in other courses by the same instructor).  If you are already familiar with Natural Earth data and want to take the shortcut of simply copying ne_10m_admin_0_countries.shp (and its accompanying files) into a folder named C:\polygeo then this lecture can be considered optional.

    Downloading Natural Earth Data
    03:40

    This course assumes that you know how to make a map in ArcMap, but in this lecture we will make a simple one, so that we have a common map on which to test the Python AddIns that we create.

    Preview 01:48
    +
    Creating simple Python AddIn types
    4 Lectures 38:04

    In this lecture you will learn where to find and how to use the Python AddIn Wizard to create a Python AddIn project with a toolbar and initially one button which can be used to zoom the map to the extent of the country of Turkey. 

    Creating Python AddIn with Toolbar and Button
    10:20

    In this lecture you will learn how to clone the Zoom To Turkey button, via Python and XML editing, to create another button which zooms to a different country.

    Editing XML and ArcPy code to clone Buttons
    07:11

    We deliberately break our Python AddIn in a number of ways, so that you can learn what to look for when a Python AddIn does not work as expected.

    Preview 06:01

    In this lecture you learn how to make a second Python AddIn that consists of:

    1. an extension to add the Natural Earth countries of the world in as a first layer every time a new map is created, and
    2. a tool on a tool bar that will let us click a point and drag out a circle to select the countries that are either totally or partially within it, and then popup a list of their names.
    Creating Python AddIn with Extension and Tool
    14:32
    +
    Creating more complex Python AddIn types
    4 Lectures 36:31

    In this lecture we will create a third Python Addin to assist us to become familiar with the remaining types of Python Addins that we can include in our projects.  This generic addin is given menus (and sub-menus), buttons, tools, a tool palette and a combo box.

    Python AddIn with Menus, Combo Box and Tool Palette
    08:17

    In this lecture we will first edit XML to provide tool names of Select Circle, Select Line, Select Rectangle and Toggle Countries to the four tools on our tool palette. 

    Then we edit Python code to enable the first three tools to drag out a circle, draw a line or drag out a rectangle on your map so that the names of any countries under the graphics drawn can be popped up into an alphabetical list. 

    The fourth tool is configured to enable you to toggle the countries of the world layer on/off with a double-click anywhere on the map.

    Configuring Tool Palette
    14:32

    In this lecture we edit XML and then Python code to configure the combo box so that it provides you a pick list of the countries of the world from which you can choose one to zoom to.

    Configuring Combo Box
    04:46

    The final lecture exposes you to some more options within the config.xml file that you can use to place menus on toolbars, and write tips that will appear when you hover over items on the toolbar, to assist the users of your Python AddIns to understand the functionality that they offer.

    Configuring Menus and Writing Tips
    08:56
    About the Instructor
    Dr Graeme Browning
    4.6 Average rating
    8 Reviews
    46 Students
    4 Courses
    Freelance ArcGIS/ArcPy Specialist

    Graeme provides training, consulting and support in: ArcGIS Desktop, ArcGIS Pro, ArcPy/Python, ModelBuilder/Geoprocessing, ArcGIS Online, Story Maps and Family HiStory Mapping.

    He has been using Esri software intensively for over 25 years (18 of those with Esri International Distributors in the United Kingdom and Australia), and always installs the latest versions of the ArcGIS platform as soon as they are released (and often sooner!).