I am running ArcGIS 10.2.2 Version 10.2.2.3552, using ArcMap.
I've watched the tutorial here (http://training.esri.com/Courses/ts_PythonAdd-Ins/player.cfm?) and I'm still not understanding this. I am still in the beginner phase of understanding and using python. I have created a script that when ran outside of arcmap everything works great. Its complicated though to have people install pyscripter and then load my code. My understanding is that i can create a button in arcmap that will run the code for them? Is there a limit on what can be accomplished with this button?
When i post my script underneath and install via the add-in manager:
import arcpy import pythonaddins class ButtonClass4(object): """Implementation for Export Button_addin.button (Button)""" def __init__(self): self.enabled = True self.checked = False def onClick(self):
I get a nice little missing icon with a circle and line going through it. What am i missing here?