79462694

Date: 2025-02-24 07:22:53
Score: 1
Natty:
Report link

you can also try the ProgIDFromCLSID from pythoncom

https://timgolden.me.uk/pywin32-docs/pythoncom__ProgIDFromCLSID_meth.html

this raise an exception if the object is not found

>>> pythoncom.ProgIDFromCLSID("Inventor.NoApplication")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
>>> pythoncom.ProgIDFromCLSID("Inventor.Application")
u'Inventor.Application.1'
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matteo Boscolo