Questions tagged [add-in]
An extension to a software program that performs a custom task.
292 questions
4
votes
1
answer
796
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\...
5
votes
1
answer
932
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 ...
1
vote
0
answers
457
views
Getting AddIn to appear in customize mode categories? [closed]
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 ...
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 ...
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....
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 ...
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 (...
1
vote
1
answer
897
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?
3
votes
1
answer
602
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 ...
3
votes
1
answer
273
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 ...
5
votes
2
answers
391
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
1
answer
171
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
1
answer
719
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 "...
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....
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 ...
1
vote
2
answers
939
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 ...
3
votes
1
answer
220
views
Build ESRI addin with C++
Is it possible to build an ESRI addin (.esriaddin) using C++? I see templates for .NET and C# only but perhaps there is a manual method?
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 ...
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 ...
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 ...
28
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 ...
3
votes
1
answer
696
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
2
answers
665
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.
...
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,...
1
vote
0
answers
403
views
Getting reference to layer in java add in using ArcObjects [closed]
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 ...
3
votes
2
answers
4k
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
2
answers
2k
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 ...
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 ...
2
votes
3
answers
2k
views
Reference for IDockableWindow
I am new to ArcObjects .NET. I am 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()
{
...
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 ...
1
vote
2
answers
537
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 ...
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 ...
3
votes
1
answer
998
views
Can ArcGIS Desktop 10 Add-in Use IronPython?
Coming from the same background as the original poster in this thread, I wonder if anyone has had any success creating an Arc10 Add-In using IronPython.
I have been able to access ArcObjects via ...
3
votes
1
answer
1k
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 ...
1
vote
1
answer
1k
views
Add-Ins Category missing from Customize / Commands / Categories - Can't Use Add-Ins? [closed]
I've created a Add-In button that says "Hello World" when clicked.
I want to add button to a toolbar.
I've tried creating my own "Category" in the Add-In wizard, no success.
I've also accepted the ...
5
votes
1
answer
558
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 ...
2
votes
0
answers
163
views
Determining which EditEvent is fired BEFORE feature is created [closed]
I have written an AddIn-Tool and want to handle the OnSketchFinished-Event.
The Way
((IEditEvents_event)_myEditSketch).OnSketchFinished += OnFinishedSketch;
doesn't really work for me, cause I need ...
1
vote
1
answer
299
views
WindowsForm in AddIn-Toolbar [closed]
Is there any possibility to add a little WindowsForms with a textbox to an AddIn-Toolbar?
In ArcGIS 9.3 I could easily add it to the Toolbar.cs like all the buttons ect with AddItem but how can I do ...
3
votes
1
answer
596
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 ...
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 ...
2
votes
3
answers
2k
views
Updating ArcMap Statusbar from AddIn?
I'm using this statement in an add in to update the first pane of the ArcMap 10 statusbar:
ArcMap.Application.StatusBar.set_Message(0, message);
When the method is called, no exceptions are raised. ...
3
votes
4
answers
3k
views
Why are my additional Add-In folders disappearing?
I thought it just something I was doing. Then someone emailed me about about the same issue. Then I checked a user that I set up on ArcGIS 10 and his had been wiped.
It doesn't happen right away--...