December 20, 2022 at 2:11 pm
Subscriber
I have to use the 2021.r2 version because the external library that I am using called Qiskit Metal (https://qiskit.org/metal/) which opens the Ansys HFSS interface for simulation only works on Ansys versions before 2022. They provided a test Python code as below that should be returnining a COMObject when run.
import win32com.client
print(win32com.client.Dispatch(‘AnsoftHfss.HfssScriptInterface’))
Currently, I’m getting “com_error: (-2147221005, ‘Invalid class string’, None, None)”. I will try your suggestions.