Open nikosavola opened 2 years ago
hfss_report_f_convergence appears to fail on Ansys 2022 R2 for the line
hfss_report_f_convergence
set_property(report, 'Attributes', curves, 'Line Width', 3)
with
File c:\users\admin\pyepr\pyEPR\core_distributed_analysis.py:1582, in DistributedAnalysis.hfss_report_f_convergence(self, variation, save_csv) 1579 # Properties of lines 1580 curves = [f"{report_name}:re(Mode({i})):Curve1" for i in range( 1581 1, 1+self.n_modes)] -> 1582 set_property(report, 'Attributes', curves, 'Line Width', 3) 1583 set_property(report, 'Scaling', 1584 f"{report_name}:AxisY1", 'Auto Units', False) 1585 set_property(report, 'Scaling', f"{report_name}:AxisY1", 'Units', 'g') File c:\users\admin\pyepr\pyEPR\ansys.py:357, in set_property(prop_holder, prop_tab, prop_server, name, value, prop_args) 355 if not isinstance(prop_server, list): 356 prop_server = [prop_server] --> 357 return prop_holder.ChangeProperty([ 358 "NAME:AllTabs", 359 [ 360 "NAME:" + prop_tab, ["NAME:PropServers", *prop_server], 361 [ 362 "NAME:ChangedProps", 363 ["NAME:" + name, "Value:=", value] + (prop_args or []) 364 ] 365 ] 366 ])
The error in Ansys is
HFSSDesign1 (Eigenmode) [error] Script macro error: Invalid PropServer 'Freq. vs. pass:re(Mode(1)):Curve1'.
hfss_report_f_convergence
appears to fail on Ansys 2022 R2 for the linewith