Questions tagged [add-in]
An extension to a software program that performs a custom task.
58
questions with no upvoted or accepted answers
4
votes
0
answers
806
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 ...
3
votes
0
answers
139
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 ...
3
votes
0
answers
169
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 ...
3
votes
0
answers
2k
views
How to wire ESRI.ArcGIS.Desktop.AddIns.Extension to a custom AddIn Button click event?
I am developing custom ArcMap toolbar with various AddIn tools, button and extension. I see the sample how to access the ActiveView events in the extension Initialize() method.
private void ...
3
votes
0
answers
647
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
0
answers
53
views
What is going on in ArcMap AddIn?
I have an ArcMap-addin which is working from ArcMap 10.2 until 10.8 but since an undefinite time in undefined circumstances there happen things that I can't explain. I'm searching for the cause while ...
2
votes
1
answer
310
views
GRASS 7.4 addons look installed but not accessable
I'm tring to install the addon v.centerline using the GRASS GUI 'Fetch & install extension from GRASS Addons'. I get the following message saying it's installed yet it doesn't show up. I tried ...
2
votes
0
answers
158
views
Communicating with separate ArcGIS Add-in?
Is it possible to access the functions or properties of an ArcGIS Add-in project (C#) from another Add-in at run time?
I have a custom ArcMap application extension installed and I would like an Add-...
2
votes
0
answers
205
views
Debugging ArcObjects SDK 10.3 addins with ArcMap 10.4
I recently upgraded my version of ArcMap from 10.3 to 10.4.1, including all extensions, patches, etc. I did not remove the 10.3 ArcObjects SDK, as I wanted to continue to develop 10.3 compatible ...
2
votes
0
answers
123
views
ArcObjects Property Page usage
I have a Dockable window control that I want to have several properties associated with it. Specifically a data source. I currently have to hard code an Image service or a file GDB at a specific path. ...
2
votes
0
answers
407
views
When debugging ArcGIS add-in, can't use "Edit and Continue"
I've been working on this add-in for years, and just today set up a new computer with VS 2013 and ArcGIS 10.3. When I run my add-in from the debugger, breakpoints can be hit, but I can't edit when ...
2
votes
0
answers
334
views
IDockableWindow ability to auto size?
I have a ArcObjects 10.2 vb.net Custom Add-in that is a dockable window. The dockable window displayes a windows form that has listboxes, textboxes, panels, tab panels, etc. that the user interacts ...
2
votes
0
answers
1k
views
Visual Studio not creating ".esriAddIn" file
I have an addin that I've been maintaining with Visual Studio 2010 Express for quite some time with no issues. Recently my computer was replaced and Studio 2012 Express was installed. Since that time ...
2
votes
0
answers
313
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 ...
2
votes
0
answers
313
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
0
answers
49
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 ...
2
votes
0
answers
52
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 ...
2
votes
0
answers
313
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 ...
2
votes
0
answers
238
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 ...
2
votes
0
answers
106
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 ...
2
votes
0
answers
232
views
How do I resolve error DataGridView/Label1 is not declared?
' set the active display
Dim disp As ESRI.ArcGISExplorer.Mapping.MapDisplay = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay
' define the item that selected by user
Dim ...
2
votes
0
answers
183
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 ...
2
votes
0
answers
159
views
Is it possible to lock a single feature from editing in ArcObjects?
We're developing an ArcMap addin. Now we need a way to lock a feature from editing/deleting. Is this possible with ArcObjects or do we have to create our own implementation of locking?
Example:
User ...
2
votes
0
answers
399
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 ...
1
vote
1
answer
112
views
Programmatically check if editing session in progress for ArcGIS Pro SDK
I have a C# Add-In program for ArcGIS Pro.
I would like to check if the user is currently editing, or no.
I recommend my users carefully toggle their edit sessions, following the recommendation in ...
1
vote
0
answers
121
views
Lost ArcMap Add-in Toolbar Built with ArcObjects SDK in .NET and Problem with AssemblyCache folder and ArcGIS Cache Manager
Our organization manages an ArcMap 10.6.1 add-in written using the ArcObjects SDK for .NET Framework 4.7.2. We publish the add-in file to a server folder. We edited the registry to make ArcMap look ...
1
vote
0
answers
37
views
Elevation profile add-in for ArcGIS not producing graph
I am trying to create an elevation profile graph using a river line shapefile and the add-in (with ArcMap 10.4.1). So I select my feature, click the "Create a profile for the selected feature" ("...
1
vote
0
answers
53
views
Scrolling TOC programmatically using ArcObjects in ArcMap AddIn?
I've created the small add-in command for ArcMap, that allows find in TOC and select the layer by it's alias or feature class name. Useful when map document contains several hundreds of layers.
The ...
1
vote
0
answers
51
views
ArcGIS Addin disables itself
I have some custom ArcMap addins that I have built over the last couple of years. In one specific client environment, the addin installs correctly but when the user clicks the tool to execute it, the ...
1
vote
0
answers
106
views
How to configure a custom ArcGIS Pro Add-in
How can ArcGIS Pro add-ins be configured?
I am building an add-in for ArcGIS Pro. This add-in will access external resources via HTTP calls to a SOAP service i have built. I want to be able to "point"...
1
vote
0
answers
40
views
Error messages are not getting logged. I have created an Add-In button. I am using log4Net library for logging.
When i run Add-In button project on my machine, logging is being done successfully but as soon as i take the Add-In button and install it into different machine , no logging of messages occurs. Is it ...
1
vote
0
answers
87
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 ...
1
vote
0
answers
57
views
FeatureClass.Search freeze
ArcMap add-in is freezing on .Search() by spatial filter.
Here is my code, for ArcMap add-in 10.3 version. When I used it with Oracle databases, happens only on one instance, works perfectly with ...
1
vote
0
answers
263
views
ArcMap add-in to make connection and load the database on VB.NET
I'm new at Arcobjects programming. Currently I'm trying to make an ArcMap Add-in which can connect and load a database into ArcMap.
I have found samples on the Esri website, but it seems not to be ...
1
vote
0
answers
43
views
arcmap ExportFrame on FocusMap inconsistency
I have an issue where the ExportFrame would use the extent instead of the full extent after right clicking on arcmap and selected "Full extent".
Sometime it will use the ExportFrame of the full ...
1
vote
1
answer
196
views
Show updated xy coordinates 'live'?
I want to create add-in tool to show x y coordinate on status bar live.
protected override void OnMouseMove(ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs arg)
{
//this.Enabled = !...
1
vote
0
answers
140
views
AddIn button disabled in Data View but enabled in Layout View
VB.NET Addin for ArcMap 10.3 may be causing my Table of Contents to constantly refresh. I have a custom toolbar with a few buttons. I want all of the buttons to be disabled when in Data View and only ...
1
vote
0
answers
54
views
Is it possible to have multiple versions of the same ESRI Addin on the same machine?
I will be adding new functionality to a ESRI addin that I have created and I would like to give it to users to test.
They already have a working version.
Is it possible to install 2 versions of ...
1
vote
0
answers
119
views
How are the GUID values for AddIn extensions created?
The AddInID GUID is straightforward, but when an extension is defined inside the AddIn, it is also assigned a GUID value when it is enabled for the first time.
How (or where) is this GUID value ...
1
vote
0
answers
69
views
Problem with MyBase when converting old VB.NET toolbar
I'm working on a project to convert and older set of ArcGIS tools that were developed for 9.x using VB.NET. I'm trying to convert them to an Add-In for 10.4.
So far, I have created the Add-In and ...
1
vote
0
answers
89
views
Creating an Add-In to click on an ArcFM function
I would like to create an add-in to press ArcFM save every five minutes. Is there any way to do this?
1
vote
0
answers
85
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 ...
1
vote
0
answers
2k
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
0
answers
147
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
0
answers
111
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 possible....
1
vote
0
answers
164
views
Why does DataGridView data not update for ArcMap add-in?
I have created a dockwindow(name:FrmWellConfig) with a datagridview(datagridview1) control in a new ArcMap add-in project.
I then bind the data:
datagridview1.datasouce=wellconfig.tables[wellcolunms]...
1
vote
0
answers
198
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
0
answers
256
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 ...
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 ...
1
vote
0
answers
495
views
ArcGIS 10.1 crashes when a button in an addin invokes GDAL DLL through SWIG CSharp wrapper
I am developing an addin with a button that tries to do coordinate transformation using GDAL OSR. When I create a new CoordinateTransformation object ArcMap crashes and close. If a debug against a ...