Tagged Questions
3
votes
1answer
28 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 ...
1
vote
1answer
71 views
Calculate Field using Esri Python Addin
I am trying to select a polygon then it must automatically change (calculate) the status to "C". The tool seems to work in the background but nothing actually happens (the status is not updated). I ...
6
votes
2answers
124 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 ...
1
vote
1answer
26 views
Why does onDemand setting remove my buttons from my menu?
When I set the onDemand="false" attribute, my buttons disappear from my menu!
I'm setting the attribute to false so that I control its behaviour using the OnUpdate override in code. Am I doing ...
1
vote
2answers
93 views
How to drag a layer from ArcMap Add-in into its MXD?
I have a simple ArcMap Add-in that displays all featureclass names in a database inside of a ListBox. If I select a name or multiple names in the listbox, how can I drag and drop it in ArcMap? Just ...
1
vote
0answers
35 views
Problem with deployment of GeoProcessors
I am developing an AddIn which requires lots of Geoprocessing but whenever I deploy any Geoprocessor, the ArcMap crashes and its always with the Geoprocessors only. All other commands are working fine ...
5
votes
2answers
363 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. ...
4
votes
3answers
175 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
0answers
53 views
Cubist Add-In for ArcMap
I'm looking for an ArcMap add-in that will create a raster based on rules from RuleQuest Research's Cubist .model files. Ideally, the add-in will give the user the option of matching input raster data ...
3
votes
1answer
70 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
215 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 ...
4
votes
0answers
247 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 ...
2
votes
1answer
215 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?
4
votes
2answers
289 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 ...
2
votes
2answers
365 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. ...
8
votes
2answers
293 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. ...
3
votes
2answers
900 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
2answers
520 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 ...
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 ...
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 ...
2
votes
1answer
467 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 ...
4
votes
1answer
199 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 ...

