Downloading and installing the Python Add-in Wizard

Esri provides a tool that you can use to make the development of add-ins easier. The Python Add-In Wizard can be downloaded from the Esri website and is a great resource to create add-ins.

Getting ready

The Python Add-In Wizard is a great resource to create the necessary files for an add-in. It generates the required files for the add-ins from a visual interface. In this recipe, you will download and install the Python Add-In Wizard.

How to do it…

Follow these steps to learn how to download and install the Python Add-in Wizard:

  1. Open a web browser and navigate to http://www.arcgis.com/home/item.html?id=5f3aefe77f6b4f61ad3e4c62f30bff3b.

    You should see a web page similar to the following screenshot:

    How to do it…
  2. Click on the Open button to download the installer file.
  3. Using Windows Explorer, create a new folder called Python Add-In Wizard somewhere on your computer. The name of the folder is irrelevant, but to keep things simple and easy to remember, you should go with Python Add-In Wizard or something similar.
  4. Unzip the file to this new folder There are many utilities that can be used to unzip a file. Each will differ slightly in how they are used but with WinZip, you should be able to right-click on the file and select Extract.
  5. Open the bin folder that was unzipped and double-click on addin_assistant.exe to run the wizard. In the following screenshot, I have created a new folder called Python Add-In Wizard and unzipped the downloaded file. The bin folder was created, and inside this folder is a file called addin_assistant.exe:
    How to do it…
  6. Double-clicking on addin_assistant.exe will prompt you to choose a directory to use as the add-in project root:
    How to do it…

How it works…

The Python Add-In Wizard is a visual interface tool that you can use to create add-ins for ArcGIS for Desktop. It greatly simplifies the process through a point-and-click tool. In the next recipe, you'll create basic ArcGIS for Desktop add-ins using the wizard.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset