Skip to content

connection problem #121

@arshpreetsingh

Description

@arshpreetsingh

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions