Tagged Questions
1
vote
0answers
38 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 ...
2
votes
1answer
89 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 ...
1
vote
0answers
74 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 = ...
4
votes
3answers
173 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 ...
2
votes
0answers
60 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
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
143 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 ...
15
votes
2answers
480 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, ...
6
votes
1answer
901 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 ...
1
vote
0answers
97 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
159 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
92 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....
...
2
votes
0answers
110 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 ...
1
vote
1answer
264 views
Run a ArcMap (10.0) Addin Button with VBA from a MS-Access form
I need a way to execute an ArcGis-Addin (vb.net) from a MS-Access database form (VBA). The problem is that there is no ESRI.ArcGIS.Desktop.Addin reference in VBA and the "pItem.Execute" method with ...
3
votes
1answer
277 views
ArcGIS 10 Addin - Code Doesn't Execute on Another Computer
I've created an ArcGIS 10 Addin that consists of a toolbar containing one button and one tool. The button opens a form, and the tool is disabled until the user enters some information on the form.
...
2
votes
1answer
292 views
find path where add-ins are installed
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 ...
3
votes
2answers
959 views
How to create a report from selected features in ArcMap
I am new to ArcGIS and I am trying to create an Add-In button which can
figure out which polygons are selected and
query the selected polygons to generate a report on the underlying metadata ...
2
votes
1answer
235 views
CodeDom.Compiler fails in Arcmap add-in, but works from console app
The Test method in the code below succeeds in a console test app, but fails when I call it from within an Arcmap add-in, throwing a ReflectionTypeLoadException with a loader exception saying:
...
2
votes
2answers
2k views
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 ...