-
Notifications
You must be signed in to change notification settings - Fork 44
Description
when I try to connect with Anasys hfss student version I get the following error, Can you pass me through?
[oAnsoftApp, oDesktop] = hfss.setup_interface()
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\hycohanz\appobject.py", line 34, in setup_interface
oAnsoftApp = win32com.client.Dispatch('AnsoftHfss.HfssScriptInterface')
File "C:\Python27\lib\site-packages\win32com\client__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 108, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 85, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2147221005, 'Invalid class string', None, None)