An extension to a software program that performs a custom task.
3
votes
1answer
28 views
How can I hide a tool from command window under category
I have created a tool, a button and a dockable window under one project. To open/close the dockable window, button is used. For some specific work, by clicking some specific button from dockable ...
1
vote
1answer
40 views
ArcGIS crashes with no error number in Visual Studio
I've been developing Add-ins for a while with Visual Studio 2008 and ArcGIS 10.
But in my new Add-in development process, I receive no error from Visual studio and ArcGIS crashes with error "Arcgis ...
0
votes
1answer
30 views
ArcObjects IDataset.Copy causes program to crash
My implementation of IDataset.Copy continues to crash and I cannot figure out why. The program attempts to copy a shapefile from a temporary folder in one directory to a final folder in another ...
1
vote
1answer
54 views
How to get an attribute of the selected feature and pass it into a URL?
As a total Novice with Python, I thought 2 weeks would be enough time to learn how to build some tools for our GIS... I was wrong and I'm running up on a deadline.
I am attempting to get a value ...
1
vote
1answer
70 views
Calculate Field using Esri Python Addin
I am trying to select a polygon then it must automatically change (calculate) the status to "C". The tool seems to work in the background but nothing actually happens (the status is not updated). I ...
6
votes
2answers
124 views
ESRI ArcMap Add-in Config.esriaddinx
I'm in the process of converting an older ArcMap extension to an Add-In in C# and I am trying to best take advantage of the XML based configuration.
Config.esriaddinx works great for the basic set up ...
1
vote
0answers
46 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
52 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 ...
0
votes
2answers
71 views
Python Addin Toolbar only works once
I am writing Python Addins for ArcGIS. I call a Python Toolbox, the Addin tool only works once in ArcCatalog when picked. If you pick it again nothing happens.
import arcpy
import pythonaddins
import ...
2
votes
1answer
93 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 ...
3
votes
0answers
54 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
84 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 ...
1
vote
1answer
26 views
Why does onDemand setting remove my buttons from my menu?
When I set the onDemand="false" attribute, my buttons disappear from my menu!
I'm setting the attribute to false so that I control its behaviour using the OnUpdate override in code. Am I doing ...
1
vote
2answers
93 views
How to drag a layer from ArcMap Add-in into its MXD?
I have a simple ArcMap Add-in that displays all featureclass names in a database inside of a ListBox. If I select a name or multiple names in the listbox, how can I drag and drop it in ArcMap? Just ...
2
votes
1answer
127 views
Refresh combo box in add-in
I've got an add-in with a combo box and want to refresh the list in the combo box after an event in one of the other tools in the same add-in toolbar.
Can I call the combo box somehow to refresh it ...
2
votes
0answers
129 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 ...
0
votes
1answer
93 views
Clip data and add layer to second dataframe using python Add-In
I want to clip a layer from data frame 1 and add it to the data frame 2 using the following script. But instead it just add all grids to current data frame 1 and don't update data frame 2. Please ...
1
vote
0answers
35 views
Problem with deployment of GeoProcessors
I am developing an AddIn which requires lots of Geoprocessing but whenever I deploy any Geoprocessor, the ArcMap crashes and its always with the Geoprocessors only. All other commands are working fine ...
5
votes
3answers
135 views
How can I determine the layer name in an edit session?
I have a problem with an editor extension in an Add-In for ArcGIS 10.
The editor extension listens on different events occuring on shapefile layers via registering listeners:
...
1
vote
0answers
75 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
1answer
179 views
How to buffer a point in a Python Add-In by ArcMap's selection tolerance?
In this answer to another Python add-in question I suggested supplying a search_distance to the SelectLayerByLocation function in order to allow points and lines to be selected by an intersecting ...
5
votes
2answers
363 views
Select and copy features in ArcMap using Python add-in tool
I'm trying to add a tool to an add-in toobar to select features from an existing feature class and copy them across to another feature class. I need two tools, one for a point and one for a rectangle. ...
4
votes
2answers
135 views
Possible to Call ArcPy Script From AddIn in ArcGIS 10.0?
Is it possible to call an ArcPy script from a Java/.Net addin in ArcGIS 10.0?
2
votes
3answers
191 views
How to Access the Current Workspace Using an ArcObjects Add-in for ArcMap?
Accessing current workspace using an ArcObjects add-in for ArcMap (Table of Contents has layer groups).
I am trying to retrieve the current WorkSpace using ArcObjects for an ArcMap add-in in C#.
Any ...
4
votes
3answers
175 views
Is it possible to target an ArcMap add-in to an earlier version?
My development environment is Visual studio 2010 with ArcGIS Desktop 10.1 installed.
I need my add-in to support 10.0 AND 10.1. Right now, if I try to install it on ArcMap 10.0, it fails.
Is it ...
5
votes
1answer
137 views
Spatial Query works while stepping through debugger but not otherwise
ORIGINAL POST:
I'm not actually sure whether this is a VB.net problem or an ESRI problem...but given the number of really odd ESRI quirks I've encountered, my money's on the latter...
I have a piece ...
2
votes
0answers
61 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 ...
2
votes
1answer
113 views
How to create multiple dockable windows?
I am building an add-in and I have several different windows, which I open with the code below. This works fine. However, how can I create the same window n times?
UID dockWinID = new UIDClass();
...
2
votes
0answers
53 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
0answers
99 views
custom dialog box for data and options settings
I want to design a custom dialog window where i can select various datasets of choice using scroll down option and specify some conditions and thresholds. Right now i am using python addins within ...
0
votes
1answer
121 views
pythonaddin button return value
I have asked this question a while back but within arcgis environment without using addin. Now i am trying to do the same task to get pixel value when user click anywhere on screen, to use in later ...
3
votes
1answer
70 views
How to use IDatabaseCompact.Compact() on an used IWorkspace, without permission denied
I am writting an ArcMap-AddIn with vb.net. I get an error when trying to compact my IWorkspace(mdb), the error is:
COMException
You tried to open a database, which was already opened by the ...
4
votes
1answer
188 views
Using log4net in ArcMap addin solution
I would like to use log4net as the logging framework for my addin. However, now I'm having trouble in enabling logging in debug mode and in the released esriAddin file. It works in either one, not ...
2
votes
0answers
41 views
Begginer doing Addin Demo I found -How do I resolve the error DataGridView is not declared? and 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 ...
1
vote
0answers
146 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 ...
4
votes
1answer
131 views
What needs to be done to downgrade a ESRI addin from 10.1 to 10?
I have created an esri addin which targeted ArcGIS 10.1, however I need to have the addin to work on ArcGIS 10, what needs to be done within my solution to get it working?
I have checked the ...
15
votes
2answers
487 views
Crashing ArcGIS 10.1 Add-ins Using Multiprocessing
I would like to run a multiprocessing task from a python add-in tool. My issue is that the process keeps failing. Basically crashes ArcMap.
Here is my basic code:
def function(startOID, endOID, ...
2
votes
1answer
142 views
Python add-in won't buffer from output layer
I have a simple add-in script for Arcmap 10.1 to create a toolbar, select a layer from a drop down list of the current layers in the project, buffer that layer four-miles, then use the resulting ...
2
votes
1answer
165 views
Problem Docking Add-In Toolbar in ArcGIS 10 SP4/5
I have developed an Add-In Toolbar for ArcGIS 10. It docks just fine on my development computer (which is running 10.0, no service packs according to ESRI's patch finder). It has been deployed to ...
3
votes
0answers
94 views
Is it possible to add a command to the ArcMap Find dialog context menu?
I think I already know the answer to this... which is "no", but I wrote this up so I'll ask anyways.
Is it possible using ArcObjects to extend/customize the ArcMap Find tool/dialog by adding a ...
6
votes
1answer
912 views
Creating ArcGIS add-ins for both 10.0 and 10.1
Has anyone tried to deploy the ArcMap add-in for both ArcGIS 10.0 and ArcGIS 10.1? There is a target version parameter in the add-in config XML file that needs to be specified. After upgrading the ...
6
votes
2answers
300 views
How to find all ICommandItem instances of a custom button command in an ArcMap add-in?
I have an ArcMap 10.0 add-in in which I have a button that the user can place (using the Customize dialog in ArcMap) on any toolbar including user-created toolbars as well as standard ones or even 3rd ...
1
vote
1answer
415 views
Python Add in: Pass Selection from Combo Box into Definition Query
I am trying to pass the users selection into a definition query in an addin combo box python script.
Basically, I have a feature class with a field called "SITE". I build a python list from that ...
2
votes
1answer
215 views
Python Addins: Can I Select a polygon feature in ArcMap and pass that Selection into a python Addin?
I have a script that uses a arcpy's 'SelectByAttribute' syntax to choose a record in a polygon feature class. Following that, I do a 'SelectbyLocation' to select points from a feature class that lie ...
1
vote
0answers
98 views
ArcGIS Add-In - protected dll-s crashes ArcMap
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 ...
2
votes
1answer
161 views
Alternatives to IPersistVariant in ArcMap add-in's?
I have migrated an classic COM ArcMap Extension of mine to an add-in.
I have tried the new persistence approach of add-in's but I cannot serialize my custom objects through the XMLSerializer. I get ...
1
vote
0answers
96 views
ArcObjects: Scale text not changing map units from miles to feet
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....
...
4
votes
1answer
217 views
Is an ArcMap 10.0 Add-In compatible with ArcMap 9.3?
I'm working on an Add-In for ArcMap 10.0 in .NET version 3.5. This add-in works fine with ArcMap 10.0. Now I want to use this add-in in ArcMap 9.3. But I couldn't add Add-In .dll file in ArcMap 9.3.
...
3
votes
1answer
697 views
How to make a WPF Window be a well-behaved child window of ArcMap?
I am pretty familiar with Windows Forms in ArcGIS but WPF, which I'm just starting to tinker with, seems to be a different animal. I've created an ArcMap add-in with a button that displays a Window ...
1
vote
1answer
183 views
ArcGIS custom addin icon
I'm working on a custom addin with C# + VS2010 + Arc10.1 Pre Release and I don't seem to find the way to make custom icons work for a button that the extension holds and for the extension itself. I ...



