An extension to a software program that performs a custom task.

learn more… | top users | synonyms

3
votes
1answer
165 views

Can you change the add-in filename without changing the Visual Studio project name?

My solution has several projects in it, one of which is an Add-in project, and I'd like to keep the naming convention of all of the projects intact but change the filename of the generated .esriaddin ...
3
votes
1answer
369 views

How to programmatically access an Add-ins image?

From this thread: Can you programmatically change the button image for a ESRI.ArcGIS.Desktop.AddIns.Button? I've learned to change a command image programmatically, but... how can I programmatically ...
3
votes
2answers
1k 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 ...
3
votes
2answers
775 views

Add-in; Failure to get code to execute when toolbar button pressed

I had written several VBA routines for ArcGIS up through v9.3 and have since upgraded to 10. Since VBA will be a thing of the past in the next version, I downloaded and installed VB Express 2008 and ...
3
votes
0answers
113 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 ...
3
votes
0answers
208 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 ...
3
votes
0answers
137 views

Is it possible to add a command to the ArcMap Find dialog context menu?

I think I already know the answer to this... which is "no", but I wrote this up so I'll ask anyways. Is it possible using ArcObjects to extend/customize the ArcMap Find tool/dialog by adding a ...
3
votes
2answers
907 views

ArcGIS 10 Add-In Does not Work on Other computers

I developed a user form that allows user to edit feature attributes in visual basic 2008. vb.net. The add-in's that I built work great on my computer, but when I tried it on another, it crashes ...
2
votes
2answers
156 views

Why is my add-in toolbar greyed out?

I installed an addIn toolbar for the U.S. Geological Survey's National Cooperative Geologic Mapping Program and I can see it, but all the tools are greyed out. Any idea why I can't see it? I am ...
2
votes
2answers
171 views

How to get Database name for layer in ArcObjects?

I am writing an ArcGIS ArcMap Add-In and need to determine what database a given layer from. How can I determine this information? I attempted to use the FeatureLayer to get a FeatureClass, and then ...
2
votes
2answers
120 views

Can a Python script be executed from a .NET AddIn and also write its standard output and geoprocessor messages to the ArcMap Python Window?

Can a Python script be executed from a .NET AddIn and also write its standard output and geoprocessor message to the ArcMap Python Window? I have no problem call python scripts with Process.Start or ...
2
votes
1answer
476 views

Why do I get an “Type 'IPoint' is not defined” error in VB.NET

I am writing an add-in for ArcMap 10. I am trying to do Dim clickedPoint as IPoint in VB.NET, but I get "Type 'IPoint' is not defined" error. Do I have to import a class or how do I make this work?
2
votes
2answers
213 views

Adding “SelectByRectangle” tool to ArcMap custom toolbar Add-In

I am able to show the other esriArcMapUI selection tools in my custom toolbar, but "Select By Rectangle" does not appear. What is the correct Tool refID of it? <ESRI.Configuration ...
2
votes
3answers
1k 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 ...
2
votes
1answer
228 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(); ...
2
votes
1answer
839 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 ...
2
votes
1answer
37 views

Signing ESRI ArcGIS Add-In with a post-build event

I'm attempting to automate signing of an ESRI Add-In using a post build event in visual studio that triggers a batch file (which subsequently triggers ESRISignAddIn utility). Running the batch file ...
2
votes
1answer
47 views

ArcMap add in constructor called not called on start up

I am converting some old tools to the new Add-In format and have noticed that the constructor is no longer being called during startup, instead it is being called when the tool is clicked for the ...
2
votes
2answers
73 views

Is it possible to create an addin for a specifc MXD?

I am currently in the process of creating Addin's and also converting our VBA projects to .NET addins. With the VBA applications, they would only work with specific MXD's. Is this possible to do with ...
2
votes
1answer
422 views

How to read the app.config settings in ESRI ArcObjects ArcMap Add-In

I am developing custom toolbar and buttons for ArcMap 10.1 utilizing VS2010 and ArcObjects SDE 10.1 extensions. I put some application settings in the app.config file and I want to make them available ...
2
votes
1answer
313 views

CodeDom.Compiler fails in Arcmap add-in, but works from console app

The Test method in the code below succeeds in a console test app, but fails when I call it from within an Arcmap add-in, throwing a ReflectionTypeLoadException with a loader exception saying: ...
2
votes
1answer
522 views

How to disable ArcMap Addin combo boxes to not allow extra text next to them?

I am developing an Addin for ArcMap 10. There are two combo boxes that I use. On several of my users's computers, they get this extra text next to the combo box. It appears it is text from the ...
2
votes
2answers
764 views

Reference for IDockableWindow?

Kind of a newbie with ArcObjects .NET. Trying to open a dockable window with the following code: public class CAD_Test_01_button : ESRI.ArcGIS.Desktop.AddIns.Button { public CAD_Test_01_button() ...
2
votes
1answer
106 views

VS2010 does not break on error when debugging ArcGIS add-in

I am having issues with VS2010 and debugging an ArcGIS add-in. The problem is that when there is an exception, it will not break on it and ArcMap(10.1) just crashes ("ArcMap has encountered...."). ...
2
votes
1answer
97 views

How to close the current mxd document through arcmap add-in

First, I open a mxd document named A in arcmap, then i use my add-in to generate another mxd document named B, then I use ArcMap.Application.OpenDocument(arcmapMapFileName); to open the ...
2
votes
1answer
249 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 ...
2
votes
1answer
215 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 ...
2
votes
1answer
819 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 ...
2
votes
1answer
97 views

Is there a way to retrieve the version of the ArcMap Addins currently loaded?

The Addin system doesn't seem to be perfect. When I update the Addin in the network share, the version number immediately gets updated in the ArcMap Addin Manager, even though the updated binaries ...
2
votes
1answer
634 views

Walkthrough: Add-In Command Bars root menu

I am wanting to create a new ArcMap Add-In project with just a custom root menu. According to the walkthrough, I can access the Add-In Command Bars (which has the Menu element) by adding a new item to ...
2
votes
0answers
27 views

How do you set an AddIn button's Help source and topicID values at runtime?

I would like a way to dynamically set the help source/topicID for a button. Example Snippet: <Button id="Acme_FullExtent" class="FullExtent" caption="Full Extent" tip="Zooms the ...
2
votes
0answers
56 views

ODBC connection issue on 64bit architecture

I'm migrating an addin to a 64bit machine using Arcmap 9.3.1. Upon execution, it returns the following error - "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch ...
2
votes
0answers
44 views

Adding a button from an add-in to a TOC context menu

I would like to add a button to a group layer context menu in the table of contents. The button is from an add-in that also contains an extension. Should be straight-forward enough. The extension ...
2
votes
0answers
93 views

How to add multiple shapefiles with VB.Net

I have created a toolbar add in for arc with a button that opens a form with 3 selections that are shapefiles, once the shapefile is selected I click the Add Layer button. Currently I can only get one ...
2
votes
0answers
399 views

How to wire ESRI.ArcGIS.Desktop.AddIns.Extension to a custom AddIn Button click event?

I am developing custom ArcMap toolbar with various AddIn tools, button and extension. I see the sample how to access the ActiveView events in the extension Initialize() method. private void ...
2
votes
0answers
325 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 ...
2
votes
0answers
102 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
0answers
65 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 ...
2
votes
0answers
183 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
71 views

How do I resolve error DataGridView/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 ...
2
votes
0answers
142 views

Why does a tool not call its constructor or OnActivate() method?

I'm working on an add-in for ArcMap 10.0 in .Net version 3.5. It was finely added in arcgis desktop 10.0 as addin tool and working finely. I added some code in the addin project and build that ...
2
votes
0answers
96 views

Is it possible to lock a single feature from editing in ArcObjects?

We're developing an ArcMap addin. Now we need a way to lock a feature from editing/deleting. Is this possible with ArcObjects or do we have to create our own implementation of locking? Example: User ...
2
votes
0answers
207 views

How to get a AddIn to appear in customize mode categories?

I was hoping that someone here might have tried this, it seems like it could be a simple error somewhere. I was running the sample AddIn that was provided by ESRI and it worked fine until I tried to ...
2
votes
0answers
290 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 ...
1
vote
1answer
440 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 ...
1
vote
2answers
303 views

Is it possible to save PostGIS connection string in OGR add-in to QGIS?

In QGIS I've saved a couple of PostGIS connections for adding data. This works fine. I've been unable to save the connections in the OGR layer converter add-in though. Has anyone found a way to do ...
1
vote
2answers
64 views

Add to geoprocessing environments when creating ArcGIS .net Add-in

I would like to add a new environment to the Geoprocessor Environments from an ArcMap.net Add in. I try adding the env to the GPEnvironmentManager with the following code but when ArcMap opens and I ...
1
vote
3answers
133 views

Why does dissolve stop working at 10.1?

I have an ArcMap Add-In that completes various geoprocessing steps, including Dissolve (using ESRI.ArcGIS.DataManagementTools.Dissolve). This tool worked at 10.0, but I just upgraded to 10.1 SP1 and ...
1
vote
1answer
87 views

Is it possible to disable an Extension Addin on Startup

I am currently creating an Addin, that can be toggled on/off from the extension manager. What I want to do is when ArcMap is being loaded, to check the license level being used (which I have done), ...
1
vote
1answer
65 views

ArcGIS 10.1 - Re-writing an add-in application from processing an SDE Geodatabase to processing a file Geodatabase

ArcGIS 10.1- I am planing to re-write an Add-in application targeting SDE Geodatabase(ArcObjects) to an add-in application targeting file Geodatabase. The Add-in application is a Tool that allow the ...