I'm brand new to ArcGIS and have only a year or two of programming experience. I know Java and a little C#. I have a Java app that processes geographical data. I need to have a button in ArcMap that, when you click it, sends map data to this Java app.
This task was already implemented in VBA; it's my job to translate it to something else since VBA is no longer supported in ArcGIS. Any thoughts on how to accomplish this?
I'm not sure where to begin. I'm guessing either using the embedded Python console or the ArcObjects SDK for Java or .NET. Just want to see what someone with experience would recommend.
2 Answers 2
You can certainly do this using Python now in ArcGIS 10.1. Have a look at Python Add-Ins. You will also want to look at Creating a Python Add-In Button.
Hope this helps.
Never a bad idea to start with the help and go from there: Developing with ArcGIS
At 10.0 you can create add-ins in either Java or .NET. These are simpler to deploy than traditional COM components, although those are sometimes necessary for some types of projects (See Extending ArcObjects for examples).
-
Great, thank you! Are you familiar with using Java for add-ins? I was trying to setup the ArcGIS stuff for Eclipse but I hit a snag. It's looking like I'm missing an ESRI CD that has important ArcGIS engine stuff. Does that sound right?Kyle M– Kyle M2012年11月30日 07:32:39 +00:00Commented Nov 30, 2012 at 7:32
-
You'll need to install the ArcObjects Java SDK from the ArcGIS installation media. You'll also probably want to get the latest service pack for both ArcGIS Desktop and the ArcObjects Java SDK from the ESRI site.blah238– blah2382012年11月30日 11:28:53 +00:00Commented Nov 30, 2012 at 11:28
-
After that you'll want to follow the steps under Installing ESRI plug-ins (for Eclipse) and then How to create an add-in project in Eclipse. I had never done this before myself but I was able to create a Hello World add-in button without too much fuss. I am using 10.1 but I don't think much changed since 10.0 for Java.blah238– blah2382012年11月30日 11:30:47 +00:00Commented Nov 30, 2012 at 11:30