Tagged Questions
1
vote
1answer
52 views
How to get an attribute of the selected feature and pass it into a URL?
As a total Novice with Python, I thought 2 weeks would be enough time to learn how to build some tools for our GIS... I was wrong and I'm running up on a deadline.
I am attempting to get a value ...
0
votes
1answer
92 views
Clip data and add layer to second dataframe using python Add-In
I want to clip a layer from data frame 1 and add it to the data frame 2 using the following script. But instead it just add all grids to current data frame 1 and don't update data frame 2. Please ...
1
vote
0answers
74 views
ArcPy 10.1 PointGeometry.projectAs()
I'm trying to reproject an X,Y passed in from an Add-in.
So far this works fine:
pointGeometry = arcpy.PointGeometry(arcpy.Point(x,y),srIn,False, False)
projectedPoint = ...
2
votes
1answer
172 views
How to buffer a point in a Python Add-In by ArcMap's selection tolerance?
In this answer to another Python add-in question I suggested supplying a search_distance to the SelectLayerByLocation function in order to allow points and lines to be selected by an intersecting ...
4
votes
2answers
132 views
Possible to Call ArcPy Script From AddIn in ArcGIS 10.0?
Is it possible to call an ArcPy script from a Java/.Net addin in ArcGIS 10.0?
0
votes
1answer
117 views
pythonaddin button return value
I have asked this question a while back but within arcgis environment without using addin. Now i am trying to do the same task to get pixel value when user click anywhere on screen, to use in later ...
15
votes
2answers
479 views
Crashing ArcGIS 10.1 Add-ins Using Multiprocessing
I would like to run a multiprocessing task from a python add-in tool. My issue is that the process keeps failing. Basically crashes ArcMap.
Here is my basic code:
def function(startOID, endOID, ...
2
votes
1answer
141 views
Python add-in won't buffer from output layer
I have a simple add-in script for Arcmap 10.1 to create a toolbar, select a layer from a drop down list of the current layers in the project, buffer that layer four-miles, then use the resulting ...