[python-win32] Trouble With Events in Inventor
Roger Upole
rupole at hotmail.com
Tue Jun 26 04:55:13 CEST 2012
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 this application, but normally the top
level COM object receives the events.
Roger
More information about the python-win32
mailing list