Importing Datasets

To import a dataset from a file:

  1. Access the Datasets window:
    • For project-level datasets, click ProjectDatasets.
    • For design-level datasets, click HFSSDesign Datasets.

    The Datasets window appears.

    Dataset Window

  2. Click Import.
  3. In the file browser that appears, use the drop-down menu to select the file format of the file you wish to import.
    Note:

    The table below lists the file types supported for Project level datasets. For Design level datasets, only .tab files are supported.

    .mdx, .mdaTwin Builder Characteristic format
    .xls, .xlsx Microsoft Excel
    .txt text file
    .csv Comma-separated value
    .outMaxwell SPICE (read-only - reads data inside the KW_DATA section)
    .cfgComtrade (IEEE Std C37-111-1999)
    .datTEK Oscilloscope
    .tab tab delimited data files
    1. If you select an .mdx, .mda, .out, .cfg, or .tab file, the data is imported immediately into Datasets window.
    2. If you select an .xls or .xlsx file containing multiple sheets, a Table Properties dialog box appears, where you can choose the desired sheet from a drop-down menu. Otherwise, selecting an .xls or .xlsx file imports the data immediately.
      Note:

      Microsoft Excel is required to import .xls or .xlsx files.

      Only the first two columns of data are imported, the left-most column containing the X-coordinate values. The x-coordinate values for successive data points must increase within ten significant digits. Non-numeric entries are assigned a value of zero.

      The first row of data is assumed to contain column headings and is ignored.

    3. Selecting a .txt or .csv file opens an Import dialog box where you can specify settings for reading the data in the file for import. You can choose the separator(s) and decimal symbol, as well as the line at which to begin the import. The dialog box shows both the original text and the text as it would appear when imported based on the current import settings.
  4. When satisfied with the import settings, click OK to import the data.

    Imported datasets take the name of the imported file. If a dataset of the same name already exists, a number will be appended to the end of the new dataset (for example, a duplicate 'dataset' becomes 'dataset1').

    Once the data has been imported, you can edit, remove, clone, or export the dataset. You can also change plot display properties.