ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Types of Python add-ins

The following add-in types can be created for ArcGIS Desktop applications using Python:

Add-In typeDescription

Buttons

A button is the simplest form of functionality that can be used to execute some business logic when it is clicked. When using a button, it is assumed that an action or a series of actions will be executed. Buttons can exist on toolbars and menus.

Tools

A tool is very similar to a button. However, a tool requires user interaction with the desktop application’s display first. Then, based on that interaction, the tool executes some business logic. The Zoom In tool Zoom In in ArcMap is a good example—it requires that you click or drag a rectangle over a map before the display is redrawn, showing the map contents in detail for the specified area. Tools can exist on toolbars and tool palettes.

Combo boxes

A combo box provides a set of choices, visually seen as a drop-down box, from which a selection can be made and acted upon. A combo box can also be enabled to allow an end user to add a value in the combo box. The Scale combo box Scale Drop-down List in ArcMap is a good example. When data with a known coordinate system is added to ArcMap, the Scale combo box is enabled, giving the user a set of predefined scales from which to choose. It also allows a user to type a new scale that is not in the list of options, and the display is updated based on the value added.

Menus

A menu is a container for buttons or other menus. Menus can be exposed by adding them to an existing toolbar (see Creating an add-in toolbar for more information on creating your own toolbar) or menu.

Toolbars

A toolbar is a container for buttons, tools, combo boxes, tool palettes, and menus. Toolbars can be floating or docked in desktop applications, just like any system toolbar in the application. Toolbars can also be activated so they are visible when a desktop application is started.

Tool palettes

A tool palette is a container for tools. Tool palettes can only be exposed by adding them to an existing toolbar (see Creating an add-in toolbar for more information on creating your own toolbar).

Application extensions

Application extensions can be used in different ways to provide supplemental functionality to ArcGIS Desktop as follows:

  • Application extensions are used to coordinate activities between other components—such as buttons and tools—within a containing add-in. For example, an extension may not activate a set of tools on a toolbar unless a specific set of layers exist in the map.
  • Application extensions are usually responsible for listening and responding to various events exposed by the host application. For example, anytime a layer is added or removed, an event is triggered, and the extension responds by automatically saving the map document.

Related topics

  • Creating an add-in project
  • Creating a Python add-in button
  • Creating a Python add-in tool
  • Creating a Python Add-In Combo Box
  • Creating an add-in toolbar
  • Creating an add-in tool palette
  • Creating an add-in menu
  • Creating a Python add-in application extension

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal