2
votes
0answers
28 views

How do you set an AddIn button's Help source and topicID values at runtime?

I would like a way to dynamically set the help source/topicID for a button. Example Snippet: <Button id="Acme_FullExtent" class="FullExtent" caption="Full Extent" tip="Zooms the ...
0
votes
1answer
46 views

Repeat the same edit on several layers

For a project we have a master polygon layer which is the basis for a few "produced" layers. These produced layers may contain some of the original features and fields, and also additional ...
2
votes
2answers
76 views

Is it possible to create an addin for a specifc MXD?

I am currently in the process of creating Addin's and also converting our VBA projects to .NET addins. With the VBA applications, they would only work with specific MXD's. Is this possible to do with ...
2
votes
2answers
190 views

How to get Database name for layer in ArcObjects?

I am writing an ArcGIS ArcMap Add-In and need to determine what database a given layer from. How can I determine this information? I attempted to use the FeatureLayer to get a FeatureClass, and then ...
1
vote
1answer
400 views

How to create windows form based tools as add-ins in arcgis 10.0 using vb2010

Here i am again with a query again. Let me explain the project layout first. I am writing a project in vb2010 in which i want to add a package having 4 toolbars with about 48 tools in them in ArcMap ...
1
vote
1answer
92 views

Is it possible to disable an Extension Addin on Startup

I am currently creating an Addin, that can be toggled on/off from the extension manager. What I want to do is when ArcMap is being loaded, to check the license level being used (which I have done), ...
1
vote
1answer
127 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 ...
1
vote
1answer
291 views

ArcObjects IDataset.Copy causes program to crash

My implementation of IDataset.Copy continues to crash and I cannot figure out why. The program attempts to copy a shapefile from a temporary folder in one directory to a final folder in another ...
1
vote
0answers
93 views

ArcGIS Add-In Project to Standard Library Project

I have been developing an ArcGIS 10 Add-In tool, but requirements changed halfway through development. Fortunately, this isn't changing any of the code, but I just need to be able to compile the ...
2
votes
1answer
261 views

Write string to status bar that doesn't go away

I'm attempting to write the number of items matching a given query to the statusbar. when i debug through the code, i am able to step through and see the message hit the statusbar, but then it ...
3
votes
0answers
218 views

What is the correct way to handle assembly resolution in .NET ArcGIS add-ins?

This has been a thorn in my side for some time now -- in .NET ArcGIS add-ins, assembly dependencies packaged with the add-in are often not resolved correctly. I am still not sure why and under which ...
2
votes
0answers
336 views

Recommendations on an MVVM framework for ArcGIS Desktop add-ins and/or ArcGIS WPF Runtime

Is anyone using an MVVM framework with ArcGIS Desktop add-ins or the ArcGIS Runtime for WPF? I am leaning towards Caliburn.Micro simply because it seems to be the most popular "lightweight" MVVM ...
6
votes
2answers
333 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?
5
votes
3answers
905 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 ...
2
votes
1answer
235 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
0answers
186 views

custom dialog box for data and options settings

I want to design a custom dialog window where i can select various datasets of choice using scroll down option and specify some conditions and thresholds. Right now i am using python addins within ...
1
vote
1answer
323 views

pythonaddin button return value

I have asked this question a while back but within arcgis environment without using addin. Now i am trying to do the same task to get pixel value when user click anywhere on screen, to use in later ...
4
votes
1answer
142 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 ...
2
votes
1answer
216 views

Problem Docking Add-In Toolbar in ArcGIS 10 SP4/5

I have developed an Add-In Toolbar for ArcGIS 10. It docks just fine on my development computer (which is running 10.0, no service packs according to ESRI's patch finder). It has been deployed to ...
3
votes
0answers
139 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 ...
6
votes
2answers
916 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 ...
4
votes
1answer
368 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
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 ...
2
votes
0answers
143 views

Why does a tool not call its constructor or OnActivate() method?

I'm working on an add-in for ArcMap 10.0 in .Net version 3.5. It was finely added in arcgis desktop 10.0 as addin tool and working finely. I added some code in the addin project and build that ...
3
votes
2answers
397 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 ...
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 ...
4
votes
1answer
368 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 ...
1
vote
0answers
274 views

how do you create an editable combobox addin for ArciGIS using Eclipse

Arc have a walkthrough to take you through this. Looks like I'm still crawling. The walkthrough can be found here: ...
2
votes
1answer
866 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 ...
4
votes
2answers
454 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 ...
6
votes
1answer
681 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 ...
4
votes
1answer
432 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
313 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 ...
2
votes
0answers
214 views

How to get a AddIn to appear in customize mode categories?

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 ...
3
votes
2answers
923 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 ...
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 ...
3
votes
1answer
166 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 ...
4
votes
1answer
231 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
1answer
100 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
1answer
525 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
1answer
753 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 ...
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 ...
1
vote
2answers
574 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 ...
6
votes
1answer
919 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

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
2answers
645 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 ...
8
votes
16answers
7k 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
1answer
373 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 ...
10
votes
2answers
864 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 ...
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 ...