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

learn more… | top users | synonyms

14
votes
2answers
1k 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 ...
11
votes
6answers
5k 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
905 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 ...
9
votes
16answers
8k 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 ...
9
votes
2answers
398 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
2k 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 ...
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 ...
6
votes
3answers
3k 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 ...
6
votes
2answers
365 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?
6
votes
1answer
734 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
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 ...
6
votes
2answers
805 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
293 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 ...
6
votes
2answers
1k 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
1k 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
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 ...
6
votes
0answers
149 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 ...
5
votes
2answers
1k 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 ...
5
votes
3answers
1k 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 ...
5
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 ...
5
votes
1answer
2k 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
3answers
491 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
831 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
1answer
384 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
478 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
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 ...
4
votes
1answer
238 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
470 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
2answers
111 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 ...
4
votes
1answer
337 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
160 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
455 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
225 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
2answers
621 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. ...
4
votes
1answer
146 views

How to call ESRISignAddIn Silently (no UI)?

I am creating a build workflow and I ran into some problems. When I call ESRISignAddIn.exe from the command prompt it is throwing up a dialog saying "Add-In successfully signed". I was expecting it ...
4
votes
1answer
638 views

Creating an ArcGIS Add-In to Export SLD

If I wanted to create an add-in for ArcGIS that exported the styling of a layer to SLD how much work would it be and what languages could I use? More info: I'm an experienced programmer, and have ...
4
votes
1answer
396 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
317 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
348 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
443 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
3answers
3k 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 ...
3
votes
1answer
466 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
82 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 ...
3
votes
1answer
250 views

Pythonaddins SaveDialog filter

If you look in the ArcGIS 10.1 help, the Pythonaddins module SaveDialog shows the following: SaveDialog({title}, {name_text}, {starting_location}) But if you open the python window in ArcMap, you ...
3
votes
2answers
822 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
1answer
103 views

How can I hide a tool from command window under category

I have created a tool, a button and a dockable window under one project. To open/close the dockable window, button is used. For some specific work, by clicking some specific button from dockable ...
3
votes
2answers
698 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
2answers
2k 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
1answer
699 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
1answer
47 views

How to get Listfields from Autocad DWG?

I trying to get LisfFields from AutoCad DWG, to arcpy Add-In, i have tried mxd = arcpy.mapping.MapDocument("CURRENT") Layers = arcpy.mapping.ListLayers(mxd) for Layers in Layers: ...