Hello everybody, I really need some help for my project in ArcMap 10.2.
I want to create a tool with a python add-in, then click on it and draw a polygon on a map. Then I want to use this polygon to clip my map and to keep what I've selected with the polygon.
To do that, I've made this code in my Add-in :
Everything seems to work except one thing! The clip tool creates a empty output, I've got the error "Empty output generated", and I really don't understand why. My "Route_shapes.shp" and my "polygon.shp" have the same coordinate system.
Any suggestion?
Thank you!