All Questions
Tagged with python-add-in arcgis-10.4
11 questions
1
vote
0
answers
263
views
adding new points with mouse click and adding them to the existing attribute table [closed]
I am quite a beginner with programming in python and I am struggling with my code. I would like to create new points(trees) on my map using mouse click and afterwards add them to the existing ...
1
vote
1
answer
61
views
Select Features grayed out in PythonAddins toolbar
I've created a custom toolbar using the pythonaddins module. For ease of use I'd like to add the Select Features tool to the toolbar.
The tool becomes grayed out as soon as I close the Customize ...
0
votes
2
answers
141
views
Get text from user with pythonaddin
I'm trying to figure out the best way to get text input from a user through a pythonaddin. After watching this video it appears that a editable combo box is an option, but it's maybe not ideal due to ...
5
votes
0
answers
220
views
Check for mxd write access with python addin
I'm looking for a way to check for writing access to an mxd upon the initiation of a python AddIn tool. My tool should only be enabled if the user has writing access to the mxd. I thought there was a ...
1
vote
1
answer
354
views
Python AddIns Installation Tool Not Showing After Double Clicking on makeaddin.py
I am using Python Add-In Wizard with ArcGIS 10.4.1 but after getting the files I am not able to create installation Wizard!
I tried to create the wizard by double clicking on the looks like ...
3
votes
0
answers
543
views
ArcGIS pythonaddins.ProgressDialog inconsistent progress bar drawing
I am trying to use pythonaddins.ProgressDialog in a Python add-in. I am on ArcGIS 10.4.
I will need to perform several steps that will take some time. To show how much work is done, I plan to use a ...
0
votes
2
answers
2k
views
ArcGIS crashing with Tkinter? [closed]
When I run certain scripts (contains tkinter or similar python packages) ArcGIS crashes. When I load or copy/paste the same code and run it in a Python window it runs without error.
Is there a ...
1
vote
1
answer
656
views
Refreshing Python AddIn combobox => TypeError: unbound method refresh() must be called with <class> instance as first argument (got nothing instead)?
I have created a minimalist test Python AddIn using ArcGIS 10.4.1 for Desktop, with a toolbar and two comboboxes on it.
The code (TestAddIn_addin.py and config.xml) appears at the bottom of this ...
1
vote
1
answer
138
views
Python Add-In will not run
I am using ArcMap 10.4.
I’ve been trying to implement a python add-in that runs when Arcmap is opened.
When the script does run it joins a layer with a feature service layer. I have everything ...
2
votes
1
answer
616
views
Alternative to self.Destroy() for wxPython in Arcmap?
I have created a Python Add-in for ArcMap 10.4 that involves a wxPython UI to display upon a click on a map. The UI is populated with default values as well as a combobox displaying the layers on the ...
1
vote
2
answers
323
views
Python Add-in using arcpy.mapping.ListLayers() does not update when run multiple times
I am developing a Python Add-in for ArcMap 10.4 that, upon a click on a map, opens a wxPython GUI that contains a combo box listing the layers in the map document.
Here's a current snippit from my ...