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

learn more… | top users | synonyms

6
votes
2answers
904 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
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 ...
1
vote
1answer
321 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 ...
4
votes
1answer
140 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
406 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 ...
4
votes
1answer
210 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 ...
2
votes
1answer
847 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
333 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
0answers
214 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 ...
3
votes
0answers
139 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
919 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 ...
7
votes
1answer
2k views

Creating ArcGIS add-ins for both 10.0 and 10.1

Has anyone tried to deploy the ArcMap add-in for both ArcGIS 10.0 and ArcGIS 10.1? There is a target version parameter in the add-in config XML file that needs to be specified. After upgrading the ...
3
votes
1answer
297 views

Alternatives to IPersistVariant in ArcMap add-in's?

I have migrated an classic COM ArcMap Extension of mine to an add-in. I have tried the new persistence approach of add-in's but I cannot serialize my custom objects through the XMLSerializer. I get ...
4
votes
1answer
366 views

Is an ArcMap 10.0 Add-In compatible with ArcMap 9.3?

I'm working on an Add-In for ArcMap 10.0 in .NET version 3.5. This add-in works fine with ArcMap 10.0. Now I want to use this add-in in ArcMap 9.3. But I couldn't add Add-In .dll file in ArcMap 9.3. ...
4
votes
1answer
2k views

How to make a WPF Window be a well-behaved child window of ArcMap?

I am pretty familiar with Windows Forms in ArcGIS but WPF, which I'm just starting to tinker with, seems to be a different animal. I've created an ArcMap add-in with a button that displays a Window ...
4
votes
2answers
590 views

DLL As Embedded Resource ArcMap Add-In? VB.NET

I tried using StackOverflow, but I don't think anyone can answer my question in context(ArcMap Addins). I am currently developing an add-in that needs to load a custom control DLL as a dependency. ...
3
votes
1answer
393 views

ArcGIS 10 Addin - Code Doesn't Execute on Another Computer

I've created an ArcGIS 10 Addin that consists of a toolbar containing one button and one tool. The button opens a form, and the tool is disabled until the user enters some information on the form. ...
3
votes
2answers
393 views

Get the geometry from the lasso selection tool

I'm building an Add-in solution in ArcGIS 10 that contains a custom tool. I'd like to borrow the functionality of the lasso selection tool without reinventing the wheel. Is there a way to intercept ...
1
vote
1answer
384 views

Run a ArcMap (10.0) Addin Button with VBA from a MS-Access form

I need a way to execute an ArcGis-Addin (vb.net) from a MS-Access database form (VBA). The problem is that there is no ESRI.ArcGIS.Desktop.Addin reference in VBA and the "pItem.Execute" method with ...
2
votes
0answers
97 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
1answer
487 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?
4
votes
1answer
365 views

Can an ArcGIS Addin be aware of whether it was installed from a shared folder or installed though the the Addin file?

I am distributing an Addin for ArcGIS, and I love when you point the Addin manager to a folder, updates automatically get applied on the next restart. However, when you click on an Addin, it takes ...
4
votes
1answer
303 views

How can I view the Certificate of a code-signed ESRI AddIn (*.esriAddIn) without ESRIRegAddIn.exe?

For users with ArcGIS 10 installed, it's easy to view the certificate for a signed AddIn since it is presented to you in the Confirm Add-In file installation window. Is there a way to view this ...
1
vote
0answers
274 views

how do you create an editable combobox addin for ArciGIS using Eclipse

Arc have a walkthrough to take you through this. Looks like I'm still crawling. The walkthrough can be found here: ...
4
votes
2answers
451 views

ArcObjects: How to measure the draw time of a layer in ArcMap?

I'd like to quantitatively measure the display performance of mosaic datasets, image service layers, raster layers, feature layers, etc. in ArcMap 10. How can I measure the draw time of a particular ...
6
votes
1answer
679 views

How to attach GP script tools, standard tools, and Python script to a toolbar?

I need to build a custom toolbar that can launch the following items: A Python script tool - shouldn't be a problem, as you can already attach these to a toolbar Out of the box functions such as the ...
3
votes
1answer
457 views

Simplest way to add built-in commands to an custom add-in

Currently in Config.esriaddinx I have <Button id="my_UniqueID" class="MyWrapperClass" caption="My Caption" image="Images\My_Image.png" ...> </Button> and then I implement ...
4
votes
1answer
429 views

How to find the service pack level in ArcGIS Addin?

I can query the current version from RuntimeInfo.Version. But I would also like to know what service pack is also installed. Do I need to just check the registery key ...
4
votes
1answer
311 views

List all active extensions with ArcObjects

I am building an ArcGIS 10 Addin that dumps out as much debug information about a system that I can get. I am currently trying to query which extensions are active in the ArcMap session. The following ...
5
votes
1answer
750 views

ArcGIS 10 Add-ins - How to adjust the size of an add-in toolbar?

I've built an add-in toolbar with two buttons. Works great, but I'd like to make the toolbar a little wider so that the user can see it's full caption. Is there a property I can adjust in the ...
4
votes
2answers
2k views

How to create a report from selected features in ArcMap

I am new to ArcGIS and I am trying to create an Add-In button which can figure out which polygons are selected and query the selected polygons to generate a report on the underlying metadata ...
2
votes
1answer
525 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
1answer
318 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: ...
3
votes
1answer
166 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 ...
4
votes
1answer
230 views

Is there a way to automatically increment the Version value in the Config.esriaddinx file?

I don't think there is an out-of-the-esri-box way to do this, but has anyone hacked up a way to change this value automatically for a build? Perhaps using a pre-build event command?
2
votes
1answer
100 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 ...
1
vote
2answers
572 views

Select By Attribute using geoprocessing without using layers?

I am selecting features based on attributes within an ArcGIS Add-In. The selections are pretty simple(e.g. "DESCRIPTION = left"). Is there a tool or method of doing this that doesn't require passing ...
6
votes
1answer
1k views

ArcGIS 10 add-in: ComboBox add-in component focus issue

Update 9/9/11: Here is a minimal example project that will reproduce the issue for me (VS 2008 solution): http://wfurl.com/09061bf I have an ArcMap 10 add-in with a ComboBox class that I place on a ...
3
votes
2answers
641 views

ArcObjects: IMapEvents.FeatureClassChanged doesn't fire if the layer's previous data source was invalid

Is there any other event besides IMapEvents.FeatureClassChanged that will be fired when a layer's data source changes? FeatureClassChanged doesn't seem to fire if the layer's previous data source was ...
6
votes
1answer
911 views

ArcGIS 10: AddIn Extension loading toolbox issue

I have an extension class in an ArcMap addin project of which loads a custom toolbox into ArcToolbox when the user opens ArcMap or opens a previously created map. My toolbox gets added to ArcToolbox ...
3
votes
1answer
373 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 ...
9
votes
2answers
385 views

How do I insert new-line character into Addin Extension Description?

Apparently the text box in Esri's Extension manager doesn't wrap text (10.0 SP2). As a workaround, I'm trying to insert newline characters into the xml file, but haven't found anything that works. ...
6
votes
1answer
1k views

ArcMap Addin - add interoperability connection programatically

I'm currently building an add-in for ArcMap - ArcView using the .Net framework. The user of ArcMap and the Add-in should access data published from WFS services. I am aware that it is possible to ...
3
votes
2answers
765 views

Changing Names in TOC Doesn't Update Legend Properly

This is related to an ArcMap add-in I coded up this past week. I'm trying to rename a layer in ArcMap and have the legend refresh properly. The renaming part is working fine, however I cannot get the ...
2
votes
1answer
637 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
2answers
773 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() ...
1
vote
2answers
304 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 ...