2

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.

nmtoken
13.6k5 gold badges39 silver badges91 bronze badges
asked Nov 30, 2012 at 4:06

2 Answers 2

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.

answered Nov 30, 2012 at 4:44
2
  • Thank you for your response. Are Python Add-Ins new to ArcGIS 10.1? I'm working with 10.0. Commented Nov 30, 2012 at 6:28
  • Yes, they are new in 10.1. Commented Nov 30, 2012 at 6:31
1

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).

answered Nov 30, 2012 at 6:43
3
  • 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? Commented 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. Commented 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. Commented Nov 30, 2012 at 11:30

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.