ImportTable

Imports a data table for use in plotting reports in HFSS. Not used in HFSS-IE. The table can have multiple independent real-valued columns of data, and multiple dependent real- or complex-valued columns of data. The data supported imports are either tab delimited format (.tab) or comma delimited format (.csv). The first row may contain column names. Complex data columns are inferred from the column data format. In tab delimited format, "(double, double)" denotes a complex number. In comma delimited format, "(double, double)" denotes a complex number.

UI Access Right-click on Results > Import Solutions..., click on Import Table... in the opened dialog window.
Parameters
Name Type Description
<FileName> String Location of the source data.
<ImportName> String Identifying name to use for the import, analogous to solution setup name.
<TableName> String Identifying name for the table, analogous to solution name.
<IsRealImag> Boolean Whether to use real/imag to interpret data for any complex column. If false, then use mag/phase(degrees).
<ContainsSoluData> Boolean Whether contains solution data.
<ColNames> Array Non-empty array used only if intend to override the column names obtained from the table data file, in which case all column names are required.
<ColIndepFlags> Array Indicates which columns are independent. If this is the empty array, the default is that only the first column is independent. If this is the non- empty array, a flag must be present for every column.
Return Value None.

 

Python Syntax ImportTable(<FileName>, <ImportName>, <TableName>, <IsRealImag>, <ContainsSoluData>, <ColNames>, <ColIndepFlags>)
Python Example

oModule.ImportTable("c:\mydir\mytable.tab",

"ImportData", "Measurements", True, True,

[], [True, True, False, False, False])