hexagon logo

PC-DMIS event handler in Python

Hello,

Has anyone implemented PC-DMIS event handler in Python?

I tried both win32com.client.getevents and win32com.client.DispatchWithEvents, but I got the TypeError.
  • win32com.client.getevents
    TypeError: Objects of type 'CDispatch' can not be converted to Unicode solution
  • win32com.client.DispatchWithEvents
    TypeError: This COM object can not automate the makepy process - please run makepy manually for this object

The equivalant C# code is as follows.

Any of your reply is welcome.


Thanks and Best Regards,
Aki