AnsweredAssumed Answered

Package Third-Party Module with Python Addin

Question asked by johnmdye on Nov 15, 2013
Latest reply on Nov 18, 2013 by johnmdye
Does anyone know how I would go about packaging a third-party Python Site Package with an addin.

I want to package SendKeys with my addins so that I can implement a programmatic method of Pause Drawing (F9) and forcing the Continuous Zoom Tools, the little magnifying glass ones in ArcMap, to honor Reference Scales established in the MXD (CTRL).

I'm confused as to whether I should put the Site Package into the Data Folder in a subfolder named 'Site Packages' or if I should just drop the .py file into the Root Folder of the addin.

From there, I'm also not sure how to import the module into the script...

Any suggestions would be greatly appreciated!