Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

Nuget package is using a local version of a DLL in ArcGIS Pro, instead of what the package actually depends on

Problem:- Dll mismatches. ArcGIS Pro version 3.1 contains the DLL System.ServiceModel.Primitives Version=4.9.0.0 in its' bin folder. My solution contains an add-in that relies on 4 projects also in ...
ZZZ's user avatar
  • 573
0 votes
1 answer
174 views

Resetting ArcGIS Pro Add in

Recently I had ArcGIS Pro crashes because of an add in I installed. I followed the instructions for a clean uninstall of Pro and reinstalled it. But after re-install the add in still caused pro to ...
mconn's user avatar
  • 107
0 votes
1 answer
78 views

How to package an image with an Addin so it can be added to page layout?

This post shows the code I'm using to insert an image into the page layout. It works fine, but it's using a hard coded path. Adding picture to ArcMap PageLayout using ArcObjects in .NET? Currently my ...
Mattropolis's user avatar
  • 1,674
1 vote
0 answers
105 views

How to hide a button in my ArcGIS AddIn

I have developed an AddIn for ArcGIS 10.4 using Visual Studio 2015. My AddIn has several "buttons" defined in the config.esriaddinx XML file. It is possible to completely hide a button when ArcMap ...
narmaps's user avatar
  • 692
1 vote
1 answer
990 views

Addin Not working in ArcMap

I'm trying to configure Positions Desktop AddIn (v10.5.0.2) with Esri ArcMap(10.4.1) for the first time yet not having any luck. The Positions single use license is activated and the software is ...
GISMapper's user avatar
  • 387
1 vote
1 answer
571 views

ArcGIS 10.5 add-ins folder issue

I have ArcGIS 10.5 and some add-ins which I want to be automatically updated after making some corrections. Recently I have found a function that provides ArcGIS to do it. This is all about Add-in ...
Pavel Pereverzev's user avatar
3 votes
1 answer
243 views

Can't save persisted IGeometry object into an ObjectStream

I was able to store a serialized IGeometry object into an string field in a datatable from a File Geodatabase. For performance issues and since the object implements IPersistStream, I want to save ...
Jose's user avatar
  • 175
1 vote
1 answer
209 views

Disable a button in an Addin

I have an ESRI Addin in built in Visual Studio 2013 using .NET for ArcMap 10.3 I have a custom toolbar with a few buttons. One of the buttons is not ready to be shared with the rest of the group. Can ...
Mattropolis's user avatar
  • 1,674
2 votes
4 answers
4k views

Button in ArcGIS add-in extension shows as "Missing"?

I do not understand why my add-in toolbar and button shows up as "Missing" when I open ArcMap. I am not sure whether this is an issue with ArcMap 10.3 or whether I did anything wrong. Have anyone ever ...
Wenwei Xu's user avatar
1 vote
2 answers
1k views

Spatial Query between polyline features and point features within specified Buffer

I'm new to GIS (so I'm lost on this) and looking for a C# code sample to help me do 2 types of spatial queries. I have 2 Layers only. First layer is pipelines, which are polyline shapes so I can ...
Dave Stuart's user avatar
1 vote
1 answer
354 views

Get currently open Attribute Window

I have an AddIn (C# VS 2010) that depends on the selected items in the Attribute Window (This is the right-click on the Layer Attributes Table Window). When the user hits Start Editing I want to get a ...
Dave Stuart's user avatar
2 votes
2 answers
610 views

Is it possible to lock records or attributes indefintely if a field is populated?

I am creating a c# ArcGIS addin where I have a feature class stored in Oracle, when a feature is created some of the fields within the table will be populated. If field X is populated, then certain ...
MapMan's user avatar
  • 2,164
1 vote
1 answer
99 views

ArcGIS Addin Localization Not working?

I want to have a localized (e.g. French) addin toolbar. What I have done so far: Created the Config.fr-FR.xml file and put all the translations there Changed my system "Region and Language" setting ...
Farid Cheraghi's user avatar
2 votes
0 answers
65 views

Adding Transparent Polygon to Map using ArcObjects? [duplicate]

I am creating an ArcGIS Desktop Add-In that allows the user to draw a polygon and then have it added to the map. I am able to capture the polygon and add it to the map, the issue is the transparency. ...
corky52547's user avatar
2 votes
2 answers
975 views

ArcObjects interface to construct circles with segments instead of arcs

I am trying to see if it is feasible, using ArcObjects (VB.NET), to create a tool to construct circles comprised of line segments instead of arcs. I've looked over the available interfaces here but ...
Barbarossa's user avatar
  • 5,847
1 vote
1 answer
107 views

Referencing a method from a different class within an Else statement and using 2 variables with the method

I am transferring a code from a VBA module to a C# arcmap add-in. I am using ArcMap 10.2 and Visual Studio 2010. I cannot figure out how to translate what appears to be a method from a different ...
MapinTX's user avatar
  • 309
2 votes
0 answers
146 views

CartographyTools missing in ArcGIS10.2 [closed]

I have developed an ArcGIS Desktop AddIn for ArcGIS 10.1 using Visual Studio .Net 2010. The AddIn is established, widely used and by all accounts works well. Many folks have also been using it on ...
narmaps's user avatar
  • 692
1 vote
0 answers
90 views

Should be expecting any major issues with my custom add-ins after upgrading to 10.3 from 10.2.2? [closed]

Going from 9 to 10 was a major change as global VBA customizations had to be converted to add-ins requiring visual studio and the SDK. There were some differences between minor "10" version as well ...
Jakub Sisak GeoGraphics's user avatar
2 votes
0 answers
280 views

ArcMap addin well-known folder not saved in mxd [closed]

We have a mix of Win7 and Win8 computers, with ArcGis 10.2.1 On the Win7 computers, under Add-In Manager > Options tab, we can add a well-known folder to the box "Search for additional Add-Ins in ...
AMurray's user avatar
  • 194
5 votes
2 answers
2k views

ArcMap Add-In Not Updating To Latest Version

I'm having an issue that I haven't experienced before with ArcMap Add-Ins and I'm hoping someone out there has experienced this and knows of a solution. We have an add-in build in VB.NET that is used ...
MattB's user avatar
  • 113
0 votes
2 answers
285 views

Adding STAThread to an ESRI Addin

I am a bit stuck at the moment, I have a c# addin, which as part of one the methods, contains SavefileDialog object. The code also contains a Timer. The steps for the user is: Click on the map ...
MapMan's user avatar
  • 2,164
0 votes
1 answer
70 views

Deleting an invalid inmemory layer from the Table of Contents

I am writing an ESRI addin (in c#) where in_memory layers are used. When the user opens the map document and activates the tool, the tool checks whether the in_memory layer is valid or not, and if it ...
MapMan's user avatar
  • 2,164
4 votes
3 answers
777 views

Why is ESRI.ArcGIS.Desktop.AddIns.ComboBox configured with a number of W's?

I'm using a ESRI.ArcGIS.Desktop.AddIns.ComboBox. I configure the size of the combobox in config.esriaddinx with the following xml: <ComboBox id="my_id" class="MyComboBox" ...
steenhulthin's user avatar
0 votes
1 answer
93 views

Accessing AddInContent PDF Document

I'm converting a COM Extension to an Add-In. The old extension installed a PDF alongside the .dll and an Command in the extension start the PDF Viewer process (using Process.Start(pdflocation). I'm ...
Samuel Henderson's user avatar
2 votes
0 answers
316 views

ArcGIS AddIn with WPF DockableWindow causes ArcMap to not even start up anymore

I have a simple ArcGIS AddIn with a toolbar and a button on it, which opens a DockableWindow holding a UserControl with some UI Elements on it (a textbox and a listbox). The whole thing was made with ...
Jürgen Zornig's user avatar
2 votes
1 answer
2k views

Where does ArcGIS persist shared AddIn folder configuration

We want to rollout our customized ArcGIS AddIns enterprise wide. Therefore the esriAddinfiles are stored on a shared folder on the network. ArcGIS does automatically install those (and any updates) if ...
Jürgen Zornig's user avatar
2 votes
1 answer
317 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 ...
pvdev's user avatar
  • 1,218
0 votes
3 answers
3k views

Why is add-in toolbar greyed out? [closed]

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 ...
user30398's user avatar
2 votes
1 answer
4k 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 then,...
Jonáš Veselka's user avatar
1 vote
3 answers
1k views

Why would Dissolve stop working in ArcGIS for Desktop?

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 ...
BeckyZ's user avatar
  • 438
1 vote
1 answer
439 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 ...
Vidar's user avatar
  • 1,870
4 votes
1 answer
327 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 ...
user25540's user avatar
2 votes
1 answer
269 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...."). ...
jger's user avatar
  • 137
1 vote
1 answer
999 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 ...
GISWEB's user avatar
  • 73
6 votes
3 answers
5k 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 ...
mitaka's user avatar
  • 737
3 votes
1 answer
1k 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 ...
Kenton W's user avatar
  • 1,085
3 votes
0 answers
170 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 data ...
Hmily Shao's user avatar
11 votes
3 answers
5k 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 ...
user7172's user avatar
  • 1,529
1 vote
0 answers
199 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 ...
Logan B. Lehman's user avatar
1 vote
0 answers
257 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 ...
user16921's user avatar
2 votes
1 answer
988 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 ...
nathan gonzalez's user avatar
2 votes
1 answer
2k 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 = pointGeometry.projectAs(...
Tony's user avatar
  • 21
1 vote
0 answers
188 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 ...
Kyle M's user avatar
  • 105
4 votes
1 answer
2k 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 ...
ChrisInCambo's user avatar
  • 2,442
2 votes
0 answers
184 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 ...
Emi's user avatar
  • 2,425
6 votes
5 answers
2k views

Measuring draw time of 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 ...
blah238's user avatar
  • 35.9k
15 votes
2 answers
3k 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 ...
Radar's user avatar
  • 10.7k
7 votes
2 answers
6k views

Finding path where add-ins are installed for ArcGIS Desktop?

I see that my add-ins are installed to C:\Users\Me\AppData\Local\ESRI\Desktop10.0\AssemblyCache{6C90269B-D233-4122-3747-C2AE1131E22C} Is it possible to find that file path from within the Add-in ...
user4979's user avatar
4 votes
3 answers
5k 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 ...
artwork21's user avatar
  • 35.2k