AnsweredAssumed Answered

Can a python add-in button activate a tool?

Question asked by helyxsisltd on Feb 13, 2015
Latest reply on Sep 15, 2015 by helyxsisltd

Can anyone tell me how to activate a python add-in tool? When I say "activate", I mean make it the currently active tool for the map.


The reason I'm wanting to do this is so that I can have some code run every time the user clicks on a tool, but then immediately allow them to start drawing on the map. At present, I can only achieve this by having them first click on a button (which will appear to the user to be doing nothing), and then click on the tool so that they can start drawing.