I've been asked by somebody at work to design a toolbar add-in that works just the same as an existing one, but with a different set of data. However, the person who wrote the original add-in for him has left the company, and did not document his work at all.
The only thing available to me is the MXD. How do I find what Python script(s) is triggered by a toolbar add-in, and where the script lives? (The requester is working in ArcMap 9.3, and while I have ArcMap 10.2 available to me, I have to design to 9.3 so he'll be able to use it.)
An obvious workaround is just writing something new from scratch. The desired workflow is fairly simple: iterate through a bunch of groups of data and make a PDF, thereby automating the process of making 100+ maps. But just like this analyst is simplifying his job by using a one-click button, I'd like to simplify my job by basing the new script on the existing, proven script :-)
Aucun commentaire:
Enregistrer un commentaire