2

I am trying to build a tool that will precisely (10digit, eg: AA1234512345) identify British National Grid (BNG) by clicking on a map. The ArcGis default tool can only display 6digit (eg. AA123123). I have already written a code that calculates required BNG for point/line/polygon within a shapefile/feature class and recording it in an attribute table (I hope to cannibalise it).

I know that Arc 10.1 introduced something like onMouseDownMap [http://support.esri.com/es/knowledgebase/techarticles/detail/40730] (and Python Add-in Wizard) which seems to solve my problem but I am using Arc 10.0...

Is there anything in Arc 10.0 similar to onMouseDownMap? How to read coordinates (X, Y) from mouse click.

In brief my tool should work like:

Click on ‘identify’ button --> click on a map --> pop up window with BNG

My knowledge of python is rather limited... but I am fighting.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Jan 8, 2015 at 11:48

1 Answer 1

4

Arc 10.0 can not create a Python Add-In. But, you can use VBA to create a UITool (you need to get VBA License), or you can create an Add-In with Visual Studio.

Erica
8,9824 gold badges35 silver badges85 bronze badges
answered Jan 8, 2015 at 12:17
1
  • I was expecting that kind of answer... I had a small hope that there is python way of doing that, as VBA is a black magic for me. Thank you anyway. Commented Jan 9, 2015 at 11:29

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.