Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
71 views

Spatial Join Using Python /ArcGIS Addin assistant

I have a point shapefile that contains all my field collected data, lat/long and all the field data collected during the season. The one thing not imported was the name of the Lakes these points fell ...
Jeremy Jones's user avatar
0 votes
1 answer
464 views

Opening script in Toolset using GPToolDialog()?

I need to open a Python Script using GPToolDialog(), but the script is in a Toolset, not in the Toolbox main path. I tried many ways to solve but do not work, examples: Example 1: pythonaddins....
vcruvinelr's user avatar
3 votes
1 answer
164 views

AddRaster using pyqgis

I am able to attach a raster by using python console using the command shown below. qgis.utils.iface.addRasterLayer('D:/Work/dt0017810q.tif') But, when the same image/raster path is read from a text ...
Dharmarajan's user avatar
4 votes
1 answer
2k views

QGIS docutils install (path,pythonpath,pythonhome)

New to QGIS and Python. Have QGIS installed and working great on Windows, want to install and use Docutils -- Python Documentation Utilities (presumably all simple and small .py programs). I see that ...
rjlabs's user avatar
  • 349
1 vote
1 answer
715 views

Is there a script to Python for Click to toggle selectable?

I cannot write a script using ArcPy (Click to toggle selectable). To make a layer unavailable for sampling! I just need to create a tool to automate several processes, one of them is the ability to ...
Kargapolova Larisa's user avatar
2 votes
2 answers
2k views

Problems using da.UpdateCursor in python Add_in to Edit Feature Class

I am currently attempting to create a Python Add_in tool which will perform a set of geoprocessing operations resulting in new values for a specific !shape.area!acres calculation on a new layer and ...
kdevine's user avatar
  • 31
1 vote
0 answers
359 views

Arcpy strip '{ and ]' from list return [closed]

I have a static list that I would like to pull values from and use in a query. I can populate the list dynamically from the data but the set is quite large and I think having a static list from a csv ...
dave_does_not_understand's user avatar
4 votes
2 answers
830 views

How to trigger a Python script from an ArcGIS Desktop "save" operation?

Similar to the question Run a Python Script when opening an MXD, I'm looking for a way to run a Python script that is triggered when the "Save" command/button is pressed. I've read the Creating a ...
RyanKDalton's user avatar
  • 23.3k
1 vote
1 answer
551 views

Arcpy addin editable textbox on tool bar

I would like to add an editable toolbox on an arcpy addin toolbar. This would be used to change values of a threshold but I don't think this is currently available. (What I would really like is a ...
kungphil's user avatar
  • 383
2 votes
2 answers
1k views

Python Add-in- Message Box to display area of selected polygons

I am looking to create a Python AddIn which calculates the area of selected polygons. I would like to be able to select the features, click a button on the toolbar, and a Message box displays the sum ...
maryen's user avatar
  • 21
1 vote
1 answer
1k views

Copying XY to clipboard using Python Add-In (ArcMap)

I am trying to create a simple tool to copy XY from where i click the mouse button. What i have done already is: create add-in files using Python Add-In Wizard create toolbar and tool inside it in *....
Patr01's user avatar
  • 21
1 vote
1 answer
208 views

Can't Remove a Menu in Python Add-in

I have a Python add-in with a good amount of buttons and menus. I'm trying to remove a menu using the addin_assistant, but the menu isn't being removed from config.xml. I've tried removing the add-in ...
olivad80's user avatar
4 votes
1 answer
1k views

Using Python Add-In to delete/remove ArcMap layers that are turned off?

I have made a python addin button which removes layers that are turned off in an MXD. The strange thing is that I get different results depending on whether I run the python commands in the python ...
Fezter's user avatar
  • 22k
2 votes
0 answers
216 views

Disable customized context menu for some cases using python

I create a python add-in tool to add new item to the context menu, but I want the new item enabled only when user right click on map when within a buffer of polyline feature. I haven't figure out how ...
littleleaf's user avatar
-1 votes
1 answer
1k views

ArcGIS 10.1 Custom Toolbar issue with addin wizard

I am having some issues. In ArcGIS, I created a custom toolbar (with the python addin wizard) to do the following: 1. Button to connect to feature class, 2-5. A series of comboboxes to view, edit data ...
Bob C's user avatar
  • 99

15 30 50 per page