AnsweredAssumed Answered

openDocument (self) not firing

Question asked by shaunrconway on Oct 21, 2015
Latest reply on Nov 3, 2016 by geoid23

I created a python add-in using the python add-in assistant. The add-in included a class for triggering the openDocument (self) event. However, it never fires. I dumbed down the method to only include a pythonaddin.messagebox statement, with no luck at all.

 

If I use the same approach, but with the startup(self) event, it works great.

 

I've tried adding a delay using time.sleep without any success.

 

Using ArcGIS 10.2.2, windows 7.

 

Any help would be greatly appreciated.

Outcomes