Questions tagged [add-in]

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

Filter by
Sorted by
Tagged with
27 votes
20 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
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
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,668
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
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
10 votes
2 answers
2k 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 else,...
blah238's user avatar
  • 35.7k
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
9 votes
2 answers
658 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. ...
Kirk Kuykendall's user avatar
9 votes
1 answer
345 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 ...
Justin Carasick's user avatar
8 votes
1 answer
4k views

ArcGIS 10 add-in: Bring dockable window to front

I have an ArcGIS 10 ArcMap add-in written in C# .NET 3.5 that implements an ESRI.ArcGIS.Desktop.AddIns.DockableWindow (which also inherits from UserControl) and an ESRI.ArcGIS.Desktop.AddIns.Tool that ...
blah238's user avatar
  • 35.7k
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
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
8 votes
1 answer
965 views

What is the function of the ESRI.ArcGIS.AddIns.targets file?

I am currently upgrading from 10.2 to 10.3 and as expected there are always some issues with recompiling addins and upgrading the the visual studio version. There is now a known issue for which ...
Jakub Sisak GeoGraphics'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,144
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
7 votes
1 answer
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 ...
jan_b's user avatar
  • 782
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
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
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.7k
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
6 votes
3 answers
5k views

What is the target .NET Framework of ESRI ArcObjects SDK 10.2

I had ArcMap 10 Add-In project built with ArcObjects SDK for .NET 10.1 where I could not reference external COM DLL build on .NET 4.0 due to a .NET forward compatibility issue. (ArcObjects SDK 10.1 ...
mitaka's user avatar
  • 737
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.7k
6 votes
1 answer
697 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 ...
BeckyZ's user avatar
  • 438
6 votes
2 answers
3k 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 ...
blah238's user avatar
  • 35.7k
6 votes
1 answer
558 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 ...
Brian's user avatar
  • 4,209
6 votes
1 answer
2k 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 ...
Rob's user avatar
  • 851
5 votes
2 answers
3k views

Deployment options of ArcMap AddIn?

I made an addin for arcmap and want to deploy it using setup file. By double clicking the setup file anyone can install it in his machine and through installation it will check all dependencies and ...
Emi's user avatar
  • 2,397
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
5 votes
2 answers
388 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
7k 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 ...
blah238's user avatar
  • 35.7k
5 votes
1 answer
741 views

How to make a 10.0 ArcMap AddIn project valid for ArcGIS 10.3 SDK?

I have a ArcGIS 10.0 AddIn project that I've succeesfully re-targeted to 10.3. I can successfully compile (Visual Studio 2012). and works as expected in ArcMap 10.3.1. But when I attempt to add a ...
Jay Cummins's user avatar
  • 14.6k
5 votes
2 answers
225 views

Is there a way to control which ArcMap AddIn is loaded first?

I have a shared DLL that use across multiple ArcMap AddIns. It rarely changes, but recently I've had to modify it and I started getting MissingMethodExceptions whenever I made calls to classes in ...
Jay Cummins's user avatar
  • 14.6k
5 votes
3 answers
2k 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: mEditEvents....
geoSuleiman's user avatar
5 votes
1 answer
326 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 ...
blah238's user avatar
  • 35.7k
5 votes
1 answer
924 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
5 votes
1 answer
2k 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 Config....
rgwozdz's user avatar
  • 807
5 votes
1 answer
542 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 ...
Jay Cummins's user avatar
  • 14.6k
4 votes
6 answers
7k views

Visual Studio 2015 Error when running ArcMap add-in

I'm running a simple ArcMap add-in in Visual Studio and am getting this error: Severity Code Description Project File Line Suppression State Error The "ValidateAddInXMLTask" task ...
cevondanady's user avatar
4 votes
3 answers
772 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
4 votes
1 answer
574 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. ...
Emi's user avatar
  • 2,397
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
2 answers
3k views

Creating report from selected features in ArcMap using AddIn and C#?

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 (...
André Haupt's user avatar
4 votes
1 answer
643 views

Close DockableWindow in ArcGIS AddIn

I have an ArcMap 10.x AddIn in which I've developed a dockable window. Everything works great except that I want the dockable window to be closed when ArcMap first starts. If the user closes ArcMap ...
narmaps's user avatar
  • 665
4 votes
1 answer
442 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
1 answer
1k 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 ...
kor_'s user avatar
  • 289
4 votes
1 answer
705 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 ...
JsP's user avatar
  • 321
4 votes
1 answer
794 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 HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\...
Erik L's user avatar
  • 873
4 votes
1 answer
526 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

1
2 3 4 5 6