An extension to a software program that performs a custom task.
3
votes
0answers
54 views
ArcObjects running in Addin slower?
I have created a class library which does some geoprocessing. The addin calls a class that is an async process. I have ensured the thread is STA and the arcobjects are thread safe (ie. not passed from ...
2
votes
1answer
93 views
Write string to status bar that doesn't go away
I'm attempting to write the number of items matching a given query to the statusbar. when i debug through the code, i am able to step through and see the message hit the statusbar, but then it ...
3
votes
1answer
28 views
How can I hide a tool from command window under category
I have created a tool, a button and a dockable window under one project. To open/close the dockable window, button is used. For some specific work, by clicking some specific button from dockable ...
1
vote
0answers
46 views
ArcGIS Add-In Project to Standard Library Project
I have been developing an ArcGIS 10 Add-In tool, but requirements changed halfway through development. Fortunately, this isn't changing any of the code, but I just need to be able to compile the ...
1
vote
1answer
70 views
Calculate Field using Esri Python Addin
I am trying to select a polygon then it must automatically change (calculate) the status to "C". The tool seems to work in the background but nothing actually happens (the status is not updated). I ...
1
vote
1answer
40 views
ArcGIS crashes with no error number in Visual Studio
I've been developing Add-ins for a while with Visual Studio 2008 and ArcGIS 10.
But in my new Add-in development process, I receive no error from Visual studio and ArcGIS crashes with error "Arcgis ...
3
votes
2answers
900 views
How to list ActiveView SelectionChanged event delegates in ArcObjects .NET?
I currently have an issue in an ArcObjects ArcMap add-in where my event handlers are seemingly-randomly being unhooked from the event I'm trying to catch. I've spent some time looking for a way to ...
2
votes
1answer
127 views
Refresh combo box in add-in
I've got an add-in with a combo box and want to refresh the list in the combo box after an event in one of the other tools in the same add-in toolbar.
Can I call the combo box somehow to refresh it ...
0
votes
1answer
30 views
ArcObjects IDataset.Copy causes program to crash
My implementation of IDataset.Copy continues to crash and I cannot figure out why. The program attempts to copy a shapefile from a temporary folder in one directory to a final folder in another ...
1
vote
1answer
54 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 ...
2
votes
0answers
99 views
custom dialog box for data and options settings
I want to design a custom dialog window where i can select various datasets of choice using scroll down option and specify some conditions and thresholds. Right now i am using python addins within ...
2
votes
0answers
223 views
ArcObjects: How to get a reference to layer in a java add in
I am trying to implement a java add-in version of this solution:
unique value symbolize layers from a lookup table.
At the same time I want to start coding in Java for the ArcGIS Desktop, so I am ...
2
votes
1answer
179 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 ...
6
votes
2answers
124 views
ESRI ArcMap Add-in Config.esriaddinx
I'm in the process of converting an older ArcMap extension to an Add-In in C# and I am trying to best take advantage of the XML based configuration.
Config.esriaddinx works great for the basic set up ...
1
vote
1answer
538 views
ArcObjects: Setting image of a command button to a partially transparent bitmap
In an ArcMap 10 add-in, I am attempting to create a toggle button of sorts whose image changes based on the button's state.
This answer describes how to set an add-in button's image programmatically ...
10
votes
6answers
3k views
ESRI ArcMap Add-in with app.settings not recognizing app.config changes
I have an ESRI Add-in developed for ArcMap which requires a configuration file. After spending a while trying to read config values from a single App.Config file (and always getting null) I believe ...
1
vote
0answers
52 views
Distance Units of a Layer
I am developing an ArcGIS desktop addin. I am attempting to get the distance units (ft, mm, km, etc.) from a layer in my .mxd and display it on a windows form. How can I do this? I can access the ...
0
votes
2answers
71 views
Python Addin Toolbar only works once
I am writing Python Addins for ArcGIS. I call a Python Toolbox, the Addin tool only works once in ArcCatalog when picked. If you pick it again nothing happens.
import arcpy
import pythonaddins
import ...
1
vote
0answers
84 views
What is the correct way to handle assembly resolution in .NET ArcGIS add-ins?
This has been a thorn in my side for some time now -- in .NET ArcGIS add-ins, assembly dependencies packaged with the add-in are often not resolved correctly. I am still not sure why and under which ...
1
vote
1answer
26 views
Why does onDemand setting remove my buttons from my menu?
When I set the onDemand="false" attribute, my buttons disappear from my menu!
I'm setting the attribute to false so that I control its behaviour using the OnUpdate override in code. Am I doing ...
2
votes
1answer
165 views
Problem Docking Add-In Toolbar in ArcGIS 10 SP4/5
I have developed an Add-In Toolbar for ArcGIS 10. It docks just fine on my development computer (which is running 10.0, no service packs according to ESRI's patch finder). It has been deployed to ...
1
vote
2answers
93 views
How to drag a layer from ArcMap Add-in into its MXD?
I have a simple ArcMap Add-in that displays all featureclass names in a database inside of a ListBox. If I select a name or multiple names in the listbox, how can I drag and drop it in ArcMap? Just ...
2
votes
0answers
129 views
Recommendations on an MVVM framework for ArcGIS Desktop add-ins and/or ArcGIS WPF Runtime
Is anyone using an MVVM framework with ArcGIS Desktop add-ins or the ArcGIS Runtime for WPF?
I am leaning towards Caliburn.Micro simply because it seems to be the most popular "lightweight" MVVM ...
0
votes
1answer
93 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 ...
7
votes
1answer
595 views
Is there a line symbology that also shows vertices?
Is there such a thing as a line/vertices symbology? If not a workaround? In some situations, particularly when editing, I would like to see my lines as well as all the vertices similar to the effect I ...
5
votes
3answers
135 views
How can I determine the layer name in an edit session?
I have a problem with an editor extension in an Add-In for ArcGIS 10.
The editor extension listens on different events occuring on shapefile layers via registering listeners:
...
1
vote
0answers
35 views
Problem with deployment of GeoProcessors
I am developing an AddIn which requires lots of Geoprocessing but whenever I deploy any Geoprocessor, the ArcMap crashes and its always with the Geoprocessors only. All other commands are working fine ...
5
votes
2answers
363 views
Select and copy features in ArcMap using Python add-in tool
I'm trying to add a tool to an add-in toobar to select features from an existing feature class and copy them across to another feature class. I need two tools, one for a point and one for a rectangle. ...
1
vote
0answers
75 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 = ...
6
votes
14answers
3k views
Why can't the breakpoint be “hit” when debugging an ArcGIS 10 Add-In?
Now and then I run into the following problem:
I start debugging the Add-In and breakpoints are ignored. Almost seems like the communication between the IDE and the component is not working.
My ...
4
votes
2answers
135 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?
10
votes
2answers
578 views
ArcGIS 10 add-in: Top-level exception handling
The ArcGIS 10 add-in I'm working on is pretty simple -- just a tool control and a dockable window. I'm handling the specific exceptions I anticipate occuring at the source and throwing everything ...
2
votes
3answers
191 views
How to Access the Current Workspace Using an ArcObjects Add-in for ArcMap?
Accessing current workspace using an ArcObjects add-in for ArcMap (Table of Contents has layer groups).
I am trying to retrieve the current WorkSpace using ArcObjects for an ArcMap add-in in C#.
Any ...
4
votes
3answers
175 views
Is it possible to target an ArcMap add-in to an earlier version?
My development environment is Visual studio 2010 with ArcGIS Desktop 10.1 installed.
I need my add-in to support 10.0 AND 10.1. Right now, if I try to install it on ArcMap 10.0, it fails.
Is it ...
5
votes
1answer
137 views
Spatial Query works while stepping through debugger but not otherwise
ORIGINAL POST:
I'm not actually sure whether this is a VB.net problem or an ESRI problem...but given the number of really odd ESRI quirks I've encountered, my money's on the latter...
I have a piece ...
1
vote
1answer
183 views
ArcGIS custom addin icon
I'm working on a custom addin with C# + VS2010 + Arc10.1 Pre Release and I don't seem to find the way to make custom icons work for a button that the extension holds and for the extension itself. I ...
2
votes
0answers
61 views
Basic unit testing for ArcGIS 10.0 Java Add-in
I've been assigned the task of translating an old ArcGIS VBA script into a Java add-in. I finished the rough translation of the code, now I'm starting the debug process. The first unit test I want to ...
2
votes
1answer
113 views
How to create multiple dockable windows?
I am building an add-in and I have several different windows, which I open with the code below. This works fine. However, how can I create the same window n times?
UID dockWinID = new UIDClass();
...
6
votes
2answers
300 views
How to find all ICommandItem instances of a custom button command in an ArcMap add-in?
I have an ArcMap 10.0 add-in in which I have a button that the user can place (using the Customize dialog in ArcMap) on any toolbar including user-created toolbars as well as standard ones or even 3rd ...
2
votes
0answers
53 views
Cubist Add-In for ArcMap
I'm looking for an ArcMap add-in that will create a raster based on rules from RuleQuest Research's Cubist .model files. Ideally, the add-in will give the user the option of matching input raster data ...
0
votes
1answer
121 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 ...
3
votes
1answer
70 views
How to use IDatabaseCompact.Compact() on an used IWorkspace, without permission denied
I am writting an ArcMap-AddIn with vb.net. I get an error when trying to compact my IWorkspace(mdb), the error is:
COMException
You tried to open a database, which was already opened by the ...
4
votes
1answer
188 views
Using log4net in ArcMap addin solution
I would like to use log4net as the logging framework for my addin. However, now I'm having trouble in enabling logging in debug mode and in the released esriAddin file. It works in either one, not ...
2
votes
0answers
41 views
Begginer doing Addin Demo I found -How do I resolve the error DataGridView is not declared? and Label1 is not declared?
' set the active display
Dim disp As ESRI.ArcGISExplorer.Mapping.MapDisplay = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay
' define the item that selected by user
Dim ...
4
votes
1answer
131 views
What needs to be done to downgrade a ESRI addin from 10.1 to 10?
I have created an esri addin which targeted ArcGIS 10.1, however I need to have the addin to work on ArcGIS 10, what needs to be done within my solution to get it working?
I have checked the ...
1
vote
0answers
146 views
ArcGIS 10.1 crashes when a button in an addin invokes GDAL DLL through SWIG CSharp wrapper
I am developing an addin with a button that tries to do coordinate transformation using GDAL OSR. When I create a new CoordinateTransformation object ArcMap crashes and close. If a debug against a ...
15
votes
2answers
487 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
294 views
find path where add-ins are installed
I see that my add-ins are installed to
C:\Users\Me\AppData\Local\ESRI\Desktop10.0\AssemblyCache{6C90269B-D233-4122-3747-C2AE1131E22C}
Is it possible to find that file path from within the Add-in ...
4
votes
0answers
246 views
Creating a VB.net Dataset in Visual Studio 2010 from an SDE Geodatabase
I am building an ArcMap Addin that contains several Windows Forms with controls that need to be bound to a database. I am trying to decide whether or not to use a native SQL Server Database or an SDE ...
2
votes
1answer
142 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 ...


