hello everyone,
"Sincere apologies for posting in English again".
I have been trying to run a CATScript file using Python. However i get the following error,
"
File "E:\LS_Dyna_Prepost_Opt\Opt\Anaconda\ANA_Install\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2147221005, 'Ung\xfcltige Klassenzeichenfolge', None, None)"
I used " #import win32com.client
catapp = win32com.client.Dispatch('CATIA.Application')
os.system(executableCatiaScript)#"
Do i change anything in dynamic.py as its mentioned in this error?
I use python 2.7 version. Could anyone please offer me some advice or guidance on how to eliminate this error? thank you.
#
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP