Monday, 2 September 2013

ValueError: invalid literal for int() with base 10: HFSS connectivity

ValueError: invalid literal for int() with base 10: HFSS connectivity

I am trying to obtain the sweep analysis results from HFSS by using the
next sentence (from HFSS scripting document)
oModule.ExportNetworkData( ["Setup1:Sweep"], 3,
"C:\Python32\examples\6GHz_filter_on_HFSSDesign1.s2p", ["All"], True, 50,
"S", -1, 0, 15)
but the problem is that I am obtainig this error..... if I launch run
script directly from HFSS it works but if I try via python is not
working.... has somebody any idea? please note the name of the file above
and below in the error, it changed
Unhandled exception while debugging... Traceback (most recent call last):
File "C:\Python32\lib\site-packages\win32com\client\dynamic.py", line 282,
in ApplyTypes result = self.oleobj.InvokeTypes(*(dispid, LCID, wFlags,
retType, argTypes) + args) ValueError: invalid literal for int() with base
10: 'C:\Python32\examples\x06GHz_filter_on_HFSSDesign1.s2p'

No comments:

Post a Comment