Questions tagged [add-in]

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

Filter by
Sorted by
Tagged with
14 votes
6 answers
9k views

ArcMap Add-in with app.settings not recognizing app.config changes?

I have developed an ArcMap Add-in 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 that the ...
tomfumb's user avatar
  • 3,678
6 votes
5 answers
2k views

Measuring draw time of 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 ...
blah238's user avatar
  • 35.8k
2 votes
1 answer
2k 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 ...
blah238's user avatar
  • 35.8k
27 votes
21 answers
26k 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 ...
Jakub Sisak GeoGraphics's user avatar
11 votes
2 answers
3k views

Creating AddIns for ArcGIS Pro?

How can I create an AddIn to ArcGIS Pro and where can I find it from ArcGIS Pro application?
tkoka's user avatar
  • 161
8 votes
6 answers
2k views

Unable to debug Esri Addin for ArcCatalog

It was a toss of a coin whether this question is a GIS.SE or StackOverflow question... I'm going with GIS.SE because the problem seems to lie with ArcCatalog. I have several addins that have been ...
Michael Stimson's user avatar
7 votes
2 answers
6k views

Finding path where add-ins are installed for ArcGIS Desktop?

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 ...
user4979's user avatar
7 votes
2 answers
1k views

Referencing ArcMap in class library using ArcObjects?

I have created multiple ESRI addins, where the same code is used. I have created a class library, which I can reference rather than duplicating code. I have the following in my ESRI addin code which ...
MapMan's user avatar
  • 2,164
5 votes
2 answers
2k views

ArcMap Add-In Not Updating To Latest Version

I'm having an issue that I haven't experienced before with ArcMap Add-Ins and I'm hoping someone out there has experienced this and knows of a solution. We have an add-in build in VB.NET that is used ...
MattB's user avatar
  • 103
4 votes
3 answers
5k views

Creating StreetView/Bing Bird's Eye Add-In?

I'm trying to create an Add-In for this tool: Link to Google Maps and Bing from MXD (Streetview and Bird's Eye supported) I'm not receiving an error however my browser is not opening after I select ...
artwork21's user avatar
  • 35.1k
4 votes
2 answers
1k 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 ...
Rich Wawrzonek's user avatar
4 votes
1 answer
527 views

Can I compile an addin developed in ArcGIS 10.3.1 for use with 10.1 and 10.2?

I made an update to one of my addins mainly because users requested new features. I made the changes and compiled the addin in 10.3.1. Although I specified that the addin is compatible with 10.3 and ...
Jakub Sisak GeoGraphics's user avatar
3 votes
1 answer
1k 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 ArcMap....
user5373's user avatar
  • 209
15 votes
2 answers
3k views

Calling arcpy/python from .NET?

Are there any available examples that show how python can be integrated into a .NET ArcGIS Addin or Extension? I have a series of python scripts that I would like to call from form events (e.g. button ...
Radar's user avatar
  • 10.7k
11 votes
3 answers
5k views

What are pros and cons of Python add-ins vs .NET add-ins to ArcGIS for Desktop?

I found in ESRI .NET help: Python All ArcGIS Desktop applications include an embedded scripting language called Python. Many areas of ArcGIS—particularly geoprocessing—are accessible through ...
user7172's user avatar
  • 1,529
10 votes
1 answer
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 ...
user2847's user avatar
  • 233
8 votes
2 answers
3k 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 ...
petegis's user avatar
  • 81
7 votes
1 answer
1k 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 ...
Chad Cooper's user avatar
  • 12.7k
6 votes
4 answers
5k views

Debugging ArcMap Add-In .Net 4.5 in Visual Studio 2013: Unable to start ArcMap.exe

I am developping an ArcMap 10.3 Add-In targeting .NET framework 4.5 on Visual Studio 2013. I used ESRI's wizard to build a simple button add-in and the projects debug properties are configured to ...
staker4's user avatar
  • 381
6 votes
2 answers
837 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?
ChrisInCambo's user avatar
  • 2,442
6 votes
1 answer
2k 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 ...
blah238's user avatar
  • 35.8k
6 votes
1 answer
4k views

Unable to create .esriAddin; missing ESRI ArcGIS Add-in SDK components(s)?

What am I missing? I upgraded to ArcGIS 10.3 succesfully recompiled all other 20 or so addins after encountering a similar issue and renaming "ESRI.ArcGIS.AddIns.11.targets" to "ESRI.ArcGIS.AddIns....
Jakub Sisak GeoGraphics's user avatar
5 votes
2 answers
389 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?
Jay Cummins's user avatar
  • 14.6k
5 votes
1 answer
925 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 ...
Erik L's user avatar
  • 873
4 votes
1 answer
450 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 ...
Michael Stimson's user avatar
4 votes
3 answers
773 views

Why is ESRI.ArcGIS.Desktop.AddIns.ComboBox configured with a number of W's?

I'm using a ESRI.ArcGIS.Desktop.AddIns.ComboBox. I configure the size of the combobox in config.esriaddinx with the following xml: <ComboBox id="my_id" class="MyComboBox" ...
steenhulthin's user avatar
3 votes
1 answer
2k views

How can I access standard ArcMap cursors?

I'm writing an Add-In for ArcGIS 10 and would like to use the standard mouse cursors ArcMap uses (e.g. the info cursor and the edit cursor). I hope it is possible to just use the right reference in ...
geoSuleiman's user avatar
3 votes
1 answer
597 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: Could ...
Kirk Kuykendall's user avatar
3 votes
2 answers
1k 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 ...
blah238's user avatar
  • 35.8k
3 votes
2 answers
1k 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 ...
Dale Bridgford's user avatar
3 votes
1 answer
356 views

Arcgis SDK C#: Addin running code on arcmap startup

I know that the addins are 'lazy loading', but I want to initialize some variables on startup of arcmap. This would be loading user preference data for the workflow we have in place, updating the FC ...
Omnia9's user avatar
  • 463
2 votes
1 answer
310 views

GRASS 7.4 addons look installed but not accessable

I'm tring to install the addon v.centerline using the GRASS GUI 'Fetch & install extension from GRASS Addons'. I get the following message saying it's installed yet it doesn't show up. I tried ...
brink's user avatar
  • 820
2 votes
1 answer
2k views

Where does ArcGIS persist shared AddIn folder configuration

We want to rollout our customized ArcGIS AddIns enterprise wide. Therefore the esriAddinfiles are stored on a shared folder on the network. ArcGIS does automatically install those (and any updates) if ...
Jürgen Zornig's user avatar
1 vote
1 answer
893 views

Making separator and button menu in customized Toolbar using ArcObjects?

How can I make a separator and button menu in customized Toolbar using ArcObjects?
hvaezi's user avatar
  • 289
1 vote
1 answer
440 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 ...
alavi's user avatar
  • 11
1 vote
1 answer
152 views

Preventing user from selecting different tool when custom tool is selected?

I am using VB.Net to write an add-in. I'd like to keep the tool that I created selected even when the user attempts to select a different tool, and only deselect when my tool is clicked on again.
Xoph's user avatar
  • 129
1 vote
2 answers
1k views

Error installing addons in GRASS 7.0.2: File is not a zip file?

When I attempt to install an addon in GRASS Setting->Install Extension from Addons and select the addon i want from the list (r.stream.order) i get the following error: "ERROR: File is not a zip file: ...
Jakub Sisak GeoGraphics's user avatar
1 vote
1 answer
447 views

vb.net arcmap add-in loop through a dbf file get 'System.NullReferenceException' error

I am using vb.net arcmap add-in. I encounter a System.NullReferenceException error and cause arcmap crash. The workflow in my vb.net code is: (1) create a ShapefileWorkspaceFactory (2) use the ...
ppLily's user avatar
  • 933
0 votes
2 answers
281 views

Adding STAThread to an ESRI Addin

I am a bit stuck at the moment, I have a c# addin, which as part of one the methods, contains SavefileDialog object. The code also contains a Timer. The steps for the user is: Click on the map ...
MapMan's user avatar
  • 2,164
0 votes
0 answers
81 views

arcobject.net Addin Toolbar only works once

I created a toolbar using ArcObjects 10.0 which does some heavy processing in the onClick event of the only button it includes. It works fine however it works only once. If I click again on the button ...
Akhil Kumar's user avatar