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

learn more… | top users | synonyms

1
vote
0answers
10 views

What is the source of a “TabletPC inking error code. RtpEnabled called multiple times” error from within ArcMap?arcm

I am attempting to remotely troubleshoot an issue with an ArcMap AddIn (.NET 4) that I wrote where the users (only a couple of them) are receiving this error: TabletPC inking error code. RtpEnabled ...
-1
votes
1answer
6 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 ...
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: ...
2
votes
0answers
25 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 ...
0
votes
1answer
34 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 ...
0
votes
0answers
41 views

Common custom toolbar for several different arcgis desktop addins using C#

Suppose, I have two arcgis desktop add ins C1Addin and C2Addin developed in c# with the following components: C1Addin: Button_1 C2Addin: Button_2 When the 1st addin which may be any of the two ...
1
vote
1answer
61 views

vb.net arcmap add-in loop through a dbf file get 'System.NullReferenceException' error

I am using vb.net arcmap add-in. I encounter a System.NullReferenceException error and cause arcmap crash. The workflow in my vb.net code is: (1) create a ShapefileWorkspaceFactory (2) use the ...
0
votes
0answers
43 views

how to create map package programatically using C#?

I'm using .NET SDK to create ArcMap toolbar with arcgis 10.1. how do i create map package .mpk programatically? http://resources.arcgis.com/en/help/main/10.1/index.html#//006600000403000000
2
votes
1answer
76 views

Creating a multiring buffer in ArcObjects

I am currently writing an an addin for ArcGIS in C#. The premise of the application is, the user will select a polygon, a multi ring buffer is created from the centroid of the polygon. The buffer ...
0
votes
0answers
27 views

Prompt ArcMap Add-in to save settings before closing ArcMap

I'm working on an ArcMap 10.2 add-in which runs as a C# WPF application. I've linked the add-in window as a child owned by the ArcMap window so it will close when ArcMap is closed (among other ...
3
votes
0answers
21 views

How do I drag item/file from ArcCatalog to custom UI form created with Toolbar Add-in?

I have created a button add-in in ArcMap that pops up custom UI/Form. I want to drag and drop file from ArcCatalog into the textbox on the Form. I am able to do so with windows explorer but not from ...
0
votes
1answer
47 views

vb.net arcmap add-in log4net log still follow the configuration before update

I met a strange thing in my log4net for vb.net arcmap add-in. At first, I follow the link http://www.codeproject.com/Articles/42276/How-to-Use-Log-Net-with-VB-NET-A-Simple-Step-By-St to write logs ...
1
vote
0answers
27 views

mapping and update data in database

We have two feature layers: layer A - drainage segment layer (along road outline) layer B - road centre line layer. In my SQL Server database I have a table storing the mapping information of ...
0
votes
0answers
22 views

Call ArcGIS Explorer Extension methods from ArcGIS Explorer Button Addin

I am wondering if anyone might be able to provide some guidance on accessing methods/properties from an ArcGIS Explorer Extension addin. Currently the addin is loaded when the applications runs, then ...
2
votes
1answer
71 views

Dockable window close event

Is there an event that fires when a custom dockable window is closed in ArcMap? My dockable window uses the Add-in pattern and hosts a WPF user control. It opens via a command button which is nested ...
3
votes
0answers
48 views

ArcMap add-in (vb.net) datagridview will crash map when right click on the title part

I find the problem accidentally. In my ArcMap add-in, there is a search function which allows the user to search the geodb based on the value of a field. It works fine but today when I right click the ...
2
votes
1answer
67 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
71 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
0answers
68 views

Can a custom add-in execute code upon install of the .esriaddin [closed]

I have made a custom add-in using C#.NET(a toolbar that contains buttons) and I was wondering if it is possible to have some code execute upon the install of the .esriaddin file. Basically I want to ...
0
votes
0answers
34 views

Need help with the creation of add-ins for arc map

How to find the coordinates x and y of the point when you click on the map? I'm creating a new add-in to the arc map. When you create the add button and I chose dockable window. In dockable window I ...
1
vote
2answers
81 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
225 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 ...
2
votes
0answers
31 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
0answers
143 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 ...
0
votes
1answer
146 views

How to select a feature and get its fields by mouse click using Python Addin in ArcGIS?

I'm building a python addin tool in arcgis and I would like to click a feature, say a polygon on the map, and get the polygon's attributes,i.e. ID=3,NAME = "CITY3"...It's similar as the arcmap tool ...
1
vote
1answer
246 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 ...
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 ...
1
vote
3answers
218 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 ...
0
votes
1answer
175 views

Issue with initializing ArcObjects Interface and classes

I was going through ArcObjects example on following linkWalkthrough_Building_custom_UI_elements .I followed same steps but I was getting error while initializing objects for following code. ...
0
votes
1answer
143 views

How to display selected features in ArcGIS Identify Dialog using Visual Studio 2010/ArcObjects?

I'm brand new to ArcObjects SDKs and am struggling. I have a Python Add-in performing a query to select records (works great)and now trying to call the identify dialog via an .NET addin button that ...
2
votes
0answers
75 views

ODBC connection issue on 64bit architecture

I'm migrating an addin to a 64bit machine using Arcmap 9.3.1. Upon execution, it returns the following error - "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch ...
1
vote
1answer
62 views

How to get ESRI Addin to read the System.ServiceModel configuration?

I have a complex set of add-in's that we need to run in ArcMap, ArcServer, and ArcGIS Explorer for Desktop. We are experimenting with changing from the old Web Reference service connection to a WCF ...
2
votes
0answers
68 views

Adding a button from an add-in to a TOC context menu

I would like to add a button to a group layer context menu in the table of contents. The button is from an add-in that also contains an extension. Should be straight-forward enough. The extension ...
1
vote
0answers
204 views

How to resolve an InvalidCastException for two Objects of the same type in an ArcMap AddIn?

I'm trying to work through an InvalidCastException that is being thrown when a form is displayed from an ArcMap Addin. This is a fairly recent occurrence and I haven't identified what has changed that ...
1
vote
0answers
57 views

How to make a custom properties dialog for a custom text background

I'm developing a custom text background in ArcObjects like in this example. I would like to know if it is possible to make a custom properties dialog to set up parameters of this text background. It ...
1
vote
1answer
160 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
131 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
110 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
0answers
24 views

issues migrating + updating an older vb.net add-in

Key points to consider: -The original add-in was written in VS 2005 for ArcGIS 9.1, uses Framework 3.5, with now deprecated namespaces, but those don't appear to be problematic -Migration is to 9.3.1 ...
0
votes
1answer
48 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
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 ...
-1
votes
1answer
125 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
59 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
2answers
84 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
1answer
141 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...."). ...
2
votes
2answers
285 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
97 views

Errors when creating a TextElement from ArcObjects

I am attempting to add some text in the layout view of ArcMap. I’m using the following line for the TextElement that I’ve found online from numerous places including ArcObjects Library Reference. ...
1
vote
0answers
69 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
498 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
171 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 ...