Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have written a number of fairly-simple python functions using arcpy which help a user significantly when performing a certain workflow using various tools (both ArcGIS toolbox tools and external software).

I'd really like to bind some of these functions to buttons on a new ArcGIS toolbar, as they are not really geoprocessing tools, but more like 'Workflow Management Tools', as they do things like show and hide various layers, change symbologies etc, and generally make it easier for the user to perform specific tasks.

Is there a way to do this? I have looked in the documentation and have found various things about how to create toolbar buttons using ArcObjects, and I have found this question about accessing ArcObjects from Python, but I'm not sure how easily these can be combined.

Does anyone know if this can be done, and if so, how?

share|improve this question
Do your scripts need to communicate with the current ArcMap session? – Chad Cooper Aug 22 '12 at 21:55
up vote 4 down vote accepted

I know you can create a new toolbar with Buttons/Tools/etc on it, based on Python using ArcGIS 10.1 Addins. You should be able to take advantage of your current Python code and integrate it in these new tools.

Take a look, it is fairly simple to create.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.