Hi everyone. I am trying to write a small addin for Autodesk Inventor using
COM but I am having trouble getting events to work with my script. I can
type my code out in PythonWin and everything works as expected but when I
save it out to .py file it just runs though and exits. The same thing seems
If you're running the script from python.exe, you'll need to run
a message loop (pythoncom.PumpMessages()) to receive events.
You don't need that in Pythonwin since it runs its own message loop.
Also, are you sure the event class should be attached to the button
itself ? I'm not familiar with