Custom wxPython GUI’s: an approach for ArcGIS 10.1 | ArcGIS Resource Center | canvec | Scoop.it

In anticipation of the upcoming ArcGIS 10.1 release and the support of Python to create desktop add-ins, a frequently asked question is whether you can create and open custom Python dialogs from an add-in. While Esri currently does not have official support for this, it is possible to use wxPython to create a graphical user interface (GUI) program and launch it from your Python add-in. For this to work correctly, a number of steps should be followed. This blog explains how to make a wxPython GUI work with your Python add-in. Special thanks and credit goes to Mark Cederholm who first discovered that this was possible. Mark recently presented these findings at the Esri 2012 Developer Summit and a copy of his presentation can be found at: http://www.pierssen.com/arcgis10/upload/python/arcmap_and_python.pdf.

wxPython is not explained in detail in this blog but a list of wxPython references can be found at the end of this post. In addition, if you never created a Python add-in or need to learn more about Python add-ins, refer to the ArcGIS Desktop Python add-ins Guide Book.....


Via Elpidio I F Filho