Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm trying to develop a tool that uses some of arcmap default tools like the Sketch Tool or Trace Tool. Is it possible?

Let me explain a little more, I need to draw a feature, ask for user input, and save the feature + data to the shape file, can it be done using python?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

You will need full access to ArcObjects in Python to do this. See How do I access arcobjects from python?. It is not for the faint of heart. ESRI uses python as a scripting engine for its geoprocessing tools, not for UI stuff.

share|improve this answer
add comment

No, this is not exposed in the Python APIS. If you're feeling intrepid you can try comtypes or writing the functionality in C++ and calling it from ctypes.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.