Questions tagged [add-in]
An extension to a software program that performs a custom task.
288
questions
1
vote
1
answer
59
views
Adding button in LayerSwitcher (Openlayers)?
Got a layerswitcher in OpenLayers (ol-layerswitcher), added to a sidebar.
https://raw.githack.com/walkermatt/ol-layerswitcher/master/examples/sidebar.html
I would like to add buttons, for example, to &...
1
vote
0
answers
64
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 ...
0
votes
1
answer
53
views
ArcGIS Pro 3.1 AddIn doesn't work with: System.ServiceModel
My ArcGIS Pro 3.1 AddIn uses System.ServiceModel to open a communication via pipes to a service. I added "System.ServiceModel" to the Assablies (References) and Built it without errors.
But ...
0
votes
2
answers
66
views
How to set and read a version in an ArcGIS Pro AddIn-File?
I am creating a c# AddIn for ArcGIS Pro 3.1. As there are a lot of users I want to use our deployment tool.
This tool works with the version of the file to check if there is a need to deploy a new ...
1
vote
2
answers
95
views
Using temporary layer in ArcGIS Pro
I use C# for creating an AddIn for ArcGIS Pro 3.1. One of the features of the AddIn is to jump to a position.
var wgs84 = SpatialReferences.WGS84;
var pointInWGS84 = MapPointBuilder.CreateMapPoint(...
2
votes
1
answer
57
views
Can geodatabase edits be canceled/modified with ArcObjects?
I am working on some tools to automate some field data collection. I would like to restrict the user's ability to delete features (such as when the DELETE key is pressed, or if the MERGE editor tool ...
2
votes
0
answers
52
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 ...
0
votes
1
answer
123
views
How can I Embed BaseTool to winform in ArcObjects?
I am new to C# and still doing research. I open a windows form from a dockablewindow menu in ArcMap. I also have a button in WindowsForm, and when I click this button, I want to draw a feature on the ...
1
vote
1
answer
347
views
Downloading file asynchronously within ArcMap using C#
I am writing an AddIn for ArcGIS 10.x using C#. I want to asynchronously download a file within ArcMap using HttpClient. My test code works in a hello world app but just hangs when I debug it in ...
0
votes
0
answers
161
views
Insert OLE/ActiveX objects (Excel) into ArcMap Layout using ArcObjects c#
I am trying to create an ArcMap Add-In in which I need to insert a sheet of an Excel file into the Layout using SDK.net ArcObjects. I can't find the slightest example of how to implement this. The ...
0
votes
0
answers
63
views
C-sharp Add-in button issues
I have C# code for an Add-in button in ArcMap (10.8). An ArcGIS add-in would be built if no errors found in the C# code when building solutions. In the beginning, I resolved some errors by installing ...
1
vote
0
answers
234
views
ArcMap stops working after installation of add-in [closed]
I developed an extension for ArcGIS Desktop 10.8.1 using ArcObjects and C#. After a colleague tried to install the Add-In using the ESRI ArcGIS Add-In Installation Utility, his ArcMap could not be ...
0
votes
1
answer
69
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 ...
1
vote
0
answers
118
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 ...
2
votes
1
answer
123
views
Adding AddIn to ArcMap UI automatically after AddIn installed?
For example: I create a basic MainMenu "My Menu" AddIn by VS2010, and add "isRootMenu=true", complie and install the addin, open ArcMap, I have to open the customize dialog -> ...
0
votes
1
answer
69
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 ...
0
votes
1
answer
142
views
Street Smart for ArcGIS Pro
I installed Street Smart Plugin for ArcGIS Pro
I Also added the plugin:
But the app is still disabled:
How to enable it?
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
1
answer
62
views
How to bootstrap an MSI to Esri .NET Add-in
I support an old COM extension to ArcMap built using ArcObjects, and I'm exploring the possibility of porting it to an Add-in. The main benefit I'm seeking with the add-in is its ease of deployment: ...
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 ...
0
votes
1
answer
74
views
Add-In to Switch Selection [ArcMap 10.4]
I'm creating a suite of add-in tools on a tool bar, and using this tool as a test. How I want it to work is thus:
I have a buffer which has already been cut up by a line feature class
I select the ...
1
vote
1
answer
59
views
Programmatically open Viewer/Magnifier window in ArcMap 10.2+
Is there a way to programmatically open Viewer/Magnifier etc. windows of ArcMap from Add-In?
I am using 10.2, but anything 10.2+ will be fine.
1
vote
0
answers
49
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 ...
0
votes
1
answer
883
views
Silent install of ArcGIS Pro Add-In
We are currently migrating to ArcGIS Pro 2.2, with new add-in to improve our workflow.
Our Add-in have been shared on a common network drive so far. But our main concern is that we are not admin on ...
0
votes
1
answer
228
views
ArcGIS Pro Add-In, MVVM getting filepath in viewmodel but showing only filename in view
I have an ArcGIS Pro Addin that I need to get a path to gdb for some processing, I would like to do this but show only gdb name in text box. I have a behaviors class and a viewmodel and a view. I ...
2
votes
1
answer
305
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 ...
1
vote
0
answers
102
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"...
0
votes
0
answers
53
views
Debugging Military Tools for ArcGIS?
I am looking to make some updates to the Distance and Direction AddIn for ArcGIS.
I have downloaded the source code and opened the solution. However, I cannot seem to get the project to output any ...
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
84
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
1
answer
25
views
Aligning dropped down list to edit area of combo in ArcMap AddIn?
I have created the ArcMap addin, according to walkthrough: "Building custom UI elements using add-ins".
Now I don't know how to get rid of annoying "feature": the label of the combo placed to the ...
1
vote
1
answer
59
views
How to modify combo boxes lists in .esriAddIn, with no access to Visual Studio or SDK
I have an .esriAddIn project made for ArcGIS 10.0, and I want to modify the combo boxes lists with up-to-date values. My organisation has moved forward with Visual Studio 2013, ArcGIS 10.3, and ...
1
vote
1
answer
81
views
Inscrutable behavior of ArcMap add-in? [closed]
I'm developing an ArcMap add-in that takes some specific data from our database, generates some new layers on the map, then populates a multi-select box within the add-in.
All of that was largely ...
2
votes
0
answers
156
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-...
0
votes
2
answers
161
views
Adding a Tool to a DockableWindow add-in
I have inherited a C# ESRI (ArcMap) add-in that needs a UI tweak (the rest of the changes are completed). And I had no previous experience with such add-ins before starting on this.
The add-in in ...
-1
votes
1
answer
370
views
Arc Map Addin creation problem with Visual Studio 2015 and ArcGIS 10.5.1
I am working with ArcMap Addins(Visual studio 2015 and ArcGIS 10.5.1 and OS Windows 7). code compiling time I got a error. same code I have used In Visual studio 2012 and Arc GIS 10.2 it is creation ...
1
vote
1
answer
873
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 ...
4
votes
0
answers
496
views
Installing module within code with pip and ArcPy? [closed]
I am creating an arcmap add-in which relies on a third party module, usaddress. I am using pip to install the usaddress module on the user's computer. When I run the add in however, it says that ...
1
vote
1
answer
549
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 ...
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
257
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 ...
2
votes
0
answers
905
views
Tutorial on migrating Add-ins from ArcGIS 10.x (ArcObjects) to ArcGIS Pro for Microsoft VB.NET? [closed]
I can't seem to find any comprehensive tutorials on migrating (recreating comparable functionality) of 10.x (ArcObjects) VB.Net Add-ins to ArcGIS PRO SDK Add-ins.
When migrating from Avenue, ESRI ...
1
vote
1
answer
246
views
How to insert rows into a geodatabase bypassing an active edit session
I'm developing an ArcMap addin with ArcObjects 10.3.1 SDK that needs to have an active edit session to work.
It creates new rows after a check process and stores them in a datatable into a file ...
3
votes
1
answer
238
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 ...
2
votes
0
answers
200
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 ...
1
vote
0
answers
49
views
Closing AddIn in ArcGIS with Visual Studio 2013? [closed]
I was working in ArcGIS 10.2 with VBA but now I work with Visual Studio 2013 to create addins.
I need to close all processes, I did this with the end statement in VBA but I don't find a command to ...
0
votes
0
answers
80
views
arcobject.net Addin Toolbar only works once
I created a toolbar using ArcObjects 10.0 which does some heavy processing in the onClick event of the only button it includes. It works fine however it works only once. If I click again on the button ...
1
vote
1
answer
1k
views
In C# ArcObjects, how to get layer field names from ArcGIS Server layer?
I'm creating an add-in to ArcMap using C#. I need to get all the fields of every layer.
Code below works to get the fields when the layer is added via a shapefile. However, I can't get the fields ...
0
votes
1
answer
513
views
How send parameters to a Dockable Window in ArcObjects?
I need send a IFeature element to a dockable window.
I tried creating a public static variable, in eManager Class, that is inicialized with a feature that catch a function:
public static IFeature ...
0
votes
1
answer
84
views
ArcObjects Add-in - Making distinct add-in components talk to each other
I'm starting developing with ArcObjects and I'm stuck at trying to make two comboboxes talk to each other. What am I trying to do is changing the contents/selection of ComboBox B based on the ...