An extension to a software program that performs a custom task.
15
votes
2answers
480 views
Crashing ArcGIS 10.1 Add-ins Using Multiprocessing
I would like to run a multiprocessing task from a python add-in tool. My issue is that the process keeps failing. Basically crashes ArcMap.
Here is my basic code:
def function(startOID, endOID, ...
10
votes
6answers
3k views
ESRI ArcMap Add-in with app.settings not recognizing app.config changes
I have an ESRI Add-in developed for ArcMap 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 ...
10
votes
2answers
565 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 ...
8
votes
2answers
292 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. ...
8
votes
1answer
283 views
How to integrate eclipse (PyDev) with Python Add-In development (ArcGIS 10.1)?
In ArcGIS 10.1, Python Add-Ins make various buttons, toolbars, extensions, etc, available to those already familiar with Python and OO in general. I am in the process of developing a Python Add-In and ...
7
votes
1answer
581 views
Is there a line symbology that also shows vertices?
Is there such a thing as a line/vertices symbology? If not a workaround? In some situations, particularly when editing, I would like to see my lines as well as all the vertices similar to the effect I ...
6
votes
14answers
3k 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 ...
6
votes
1answer
455 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 ...
6
votes
1answer
751 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 ...
6
votes
2answers
112 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 ...
6
votes
1answer
899 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 ...
6
votes
2answers
290 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 ...
6
votes
1answer
670 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 ...
5
votes
1answer
1k 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 ...
5
votes
2answers
332 views
Select and copy features in ArcMap using Python add-in tool
I'm trying to add a tool to an add-in toobar to select features from an existing feature class and copy them across to another feature class. I need two tools, one for a point and one for a rectangle. ...
5
votes
3answers
132 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:
...
5
votes
1answer
134 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 ...
5
votes
1answer
455 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 ...
5
votes
1answer
579 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 ...
4
votes
1answer
212 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
2answers
132 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?
4
votes
2answers
286 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 ...
4
votes
3answers
171 views
Is it possible to target an ArcMap add-in to an earlier version?
My development environment is Visual studio 2010 with ArcGIS Desktop 10.1 installed.
I need my add-in to support 10.0 AND 10.1. Right now, if I try to install it on ArcMap 10.0, it fails.
Is it ...
4
votes
1answer
145 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?
4
votes
1answer
213 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
182 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 ...
4
votes
1answer
186 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
130 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 ...
4
votes
1answer
197 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 ...
4
votes
0answers
246 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 ...
3
votes
2answers
231 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 ...
3
votes
2answers
957 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 ...
3
votes
1answer
378 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
1answer
685 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 ...
3
votes
2answers
515 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 ...
3
votes
2answers
438 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 ...
3
votes
1answer
69 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 ...
3
votes
1answer
184 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 ...
3
votes
1answer
277 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
1answer
360 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 ...
3
votes
1answer
131 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
268 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
896 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
0answers
93 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
583 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
1answer
212 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
3answers
181 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
110 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
214 views
Python Addins: Can I Select a polygon feature in ArcMap and pass that Selection into a python Addin?
I have a script that uses a arcpy's 'SelectByAttribute' syntax to choose a record in a polygon feature class. Following that, I do a 'SelectbyLocation' to select points from a feature class that lie ...
2
votes
2answers
362 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. ...

