AnsweredAssumed Answered

Arcpy Add - In tool, deselect tool?

Question asked by LukeW on Aug 17, 2016
Latest reply on Sep 19, 2016 by nahmed-esristaff

I have an add-in tool created that works perfectly. Yehaw!

 

It takes your input selection, takes the tools rectangle_geometry, does a load of clever stuff, then clears the selection as work is complete.  Its time to make another selection, and use the tool to select your region again.,,,

 

But I cant find any way to de-activate the tool or set it back to the standard ArcMap select tool after its job is done? Please help!? Its very user unfriendly as if they click again now, it will complain about no selection being present!

 

I have tried using:

 

self.deactivate()      , but thats not an attribute of my tool :S

Outcomes