The following add-in types can be created for ArcGIS Desktop applications using Python:
Add-In type | Description |
---|---|
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 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 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:
|