2

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?

2

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.

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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