export_results#
- Icepak.export_results(analyze=False, export_folder=None, matrix_name='Original', matrix_type='S', touchstone_format='MagPhase', touchstone_number_precision=15, length='1meter', impedance=50, include_gamma_comment=True, support_non_standard_touchstone_extension=False, variations=None)#
Export all available reports to a file, including profile, and convergence and sNp when applicable.
- Parameters:
- analyzebool
Whether to analyze before export. Solutions must be present for the design.
- export_folder
str
,optional
Full path to the project folder. The default is
None
, in which case the working directory is used.- matrix_name
str
,optional
Matrix to specify to export touchstone file. The default is
Original
, in which case default matrix is taken. This argument applies only to 2DExtractor and Q3D setups where Matrix reduction is computed and needed to export touchstone file.- matrix_type
str
,optional
Type of matrix to export. The default is
S
to export a touchstone file. Available values areS
,Y
,Z
.Y
andZ
matrices will be exported as tab file.- touchstone_format
str
,optional
Touchstone format. The default is
MagPahse
. Available values are:MagPahse
,DbPhase
,RealImag
.- length
str
,optional
Length of the model to export. The default is
1meter
.- impedance
float
,optional
Real impedance value in ohms, for renormalization. The default is
50
.- touchstone_number_precision
int
,optional
Touchstone number of digits precision. The default is
15
.- include_gamma_commentbool,
optional
Specifies whether to include Gamma and Impedance comments. The default is
True
.- support_non_standard_touchstone_extensionbool,
optional
Specifies whether to support non-standard Touchstone extensions for mixed reference impedance. The default is
False
.- variations
list
,optional
List of variation values with units. The default is all variations.
- Returns:
list
List of all exported files.
References
>>> oModule.GetAllPortsList >>> oDesign.ExportProfile >>> oModule.ExportToFile >>> oModule.ExportConvergence >>> oModule.ExportNetworkData
Examples
>>> from ansys.aedt.core import Hfss >>> aedtapp = Hfss() >>> aedtapp.analyze() >>> exported_files = aedtapp.export_results()