2
votes
1answer
53 views

Signing ArcGIS Add-In with a post-build event

I'm attempting to automate signing of an ArcGIS Add-In using a post build event in visual studio that triggers a batch file (which subsequently triggers ESRISignAddIn utility). Running the batch file ...
0
votes
0answers
42 views

vb.net arcgis add in, log4net works for the exe file, does not work for the esriAddIn

I want to use log4net in my vb.net for ArcGIS add-in. After I build the solution, it generates a .exe file and a .esriAddIn file. The problem is when I run the .exe file (without open ArcMap), the ...
1
vote
2answers
71 views

Add to geoprocessing environments when creating ArcGIS .net Add-in

I would like to add a new environment to the Geoprocessor Environments from an ArcMap.net Add in. I try adding the env to the GPEnvironmentManager with the following code but when ArcMap opens and I ...
2
votes
2answers
172 views

Why is my add-in toolbar greyed out?

I installed an addIn toolbar for the U.S. Geological Survey's National Cooperative Geologic Mapping Program and I can see it, but all the tools are greyed out. Any idea why I can't see it? I am ...
0
votes
0answers
127 views

Add-in caching in ArcMap? How to clear the cache?

When I install new version of Add-in to ArcMap, it appears correctly in Add-in manager but actual binaries are still the old version. It mostly helps to restart ArcMap. But restarting every time is ...
1
vote
1answer
140 views

Add-in installed, but its elements not appearing in ArcMap

I'm creating an Add-in for ArcMap 10.1. When I export file testproject.esriaddin and install (whether double-click or from Customize Mode > Add From File dialog), message of success appears. But ...
1
vote
3answers
152 views

Why does dissolve stop working at 10.1?

I have an ArcMap Add-In that completes various geoprocessing steps, including Dissolve (using ESRI.ArcGIS.DataManagementTools.Dissolve). This tool worked at 10.0, but I just upgraded to 10.1 SP1 and ...
1
vote
1answer
135 views

Using custom xml file with ESRI addin and deployment

I creating an addin for ArcMap - but my code needs to read from an xml file to generate a dynamic form - I have put the form in the AppData folder as I don't think I can read from an xml file wrapped ...
2
votes
0answers
103 views

How to add multiple shapefiles with VB.Net

I have created a toolbar add in for arc with a button that opens a form with 3 selections that are shapefiles, once the shapefile is selected I click the Add Layer button. Currently I can only get one ...
0
votes
0answers
95 views

ArcMap throws NullReferenceException for OnClick event of Add-In

I have this below code which is a toolbar button to open a dock able window in ArcMap 10.2 Desktop application and what happens is that I am able to install the toolbar button but when I a click that ...
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 ...
4
votes
1answer
134 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 ...
-1
votes
1answer
106 views

On Mouse Up Event in ArcMap Add-In

Does anyone know how to wire up mouse events on a map document? I have found a bunch of example code on how to wire up Add-In tools, but the Add-in I'm creating is a button. It should be as easy as ...
1
vote
0answers
55 views

How to force Add-in ComboBox to refresh?

I am having problems with an add-in combobox that doesn't refresh. When the currently selected item is removed from items collection, the name remains visible in the text area. It should show the ...
2
votes
1answer
118 views

VS2010 does not break on error when debugging ArcGIS add-in

I am having issues with VS2010 and debugging an ArcGIS add-in. The problem is that when there is an exception, it will not break on it and ArcMap(10.1) just crashes ("ArcMap has encountered...."). ...
1
vote
0answers
67 views

arcmap open map via add in using C#

I just started working with arcmap and I have a question: How can I make the add in I made in C# to open a map automatically in arcmap? Just want to know what function to use or if it's even ...
1
vote
1answer
135 views

Unregistering Addin using ESRIREGADDIN

I am struggling to find right syntax for unregistering addin using a bat file. path=%path%; "%CommonProgramFiles(x86)%"\ArcGIS\bin\ESRIRegAddIn.exe {5980f3b2-f335-47c4-bfd4-bfa181dd9c4d} /u Problem ...
0
votes
0answers
64 views

User-defined toolbars arcmap 10.1

I have seen this ArcGIS Discussion Forum posting from 2003 on how to "Detect user-defined toolbars programmatically" and its not giving me what I'm seeking. This subject seems to be like trying to ...
6
votes
3answers
2k 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 ...
2
votes
2answers
123 views

Can a Python script be executed from a .NET AddIn and also write its standard output and geoprocessor messages to the ArcMap Python Window?

Can a Python script be executed from a .NET AddIn and also write its standard output and geoprocessor message to the ArcMap Python Window? I have no problem call python scripts with Process.Start or ...
3
votes
1answer
214 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 ...
1
vote
0answers
70 views

How to achieve the statusbar as the same effect with the arctoolbox‘s tool called in ArcMap add-in?

How to achieve the statusbar as the same effect with the arctoolbox‘s tool called in ArcMap add-in? i do not know how to use the progressbar as a result of my project involves in a large mount of ...
5
votes
2answers
824 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 ...
1
vote
0answers
92 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 ...
1
vote
0answers
109 views

Distance Units of a Layer

I am developing an ArcGIS desktop addin. I am attempting to get the distance units (ft, mm, km, etc.) from a layer in my .mxd and display it on a windows form. How can I do this? I can access 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 ...
5
votes
0answers
122 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 ...
1
vote
0answers
419 views

ArcPy 10.1 PointGeometry.projectAs()

I'm trying to reproject an X,Y passed in from an Add-in. So far this works fine: pointGeometry = arcpy.PointGeometry(arcpy.Point(x,y),srIn,False, False) projectedPoint = ...
2
votes
0answers
103 views

Basic unit testing for ArcGIS 10.0 Java Add-in

I've been assigned the task of translating an old ArcGIS VBA script into a Java add-in. I finished the rough translation of the code, now I'm starting the debug process. The first unit test I want to ...
4
votes
1answer
580 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 ...
1
vote
0answers
181 views

ArcGIS Add-In - protected dll-s crashes ArcMap [closed]

Have anyone tried to use a protected dll inside an ESRI Add-In for ArcGIS Desktop? We use a 3rd party company to protect our .NET dll-s before we package them. This has worked for ArcGIS extensions ...
1
vote
0answers
162 views

ArcObjects: Scale text not changing map units from miles to feet [closed]

I am adding scale text to a page layout. The code works, but the map units on the text scale still appear as miles and not feet as coded. Here is the code snippet to add scale text.... ...
1
vote
0answers
286 views

C# ArcObjects RubberBand Tracking Cancel

I've written a function to create a polygon based on geometry collected from the IRubberBand interface as follows: ITrackCancel esc = new CancelTrackerClass(); esc.CancelOnKeyPress = true; ...
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 ...
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 ...
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 ...
2
votes
0answers
293 views

ArcObjects: How to get a reference to layer in a java add in

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 ...