Design Point Import Wizard

The Design Point Import wizard allows you to open postprocessing directly from a data file without having to convert it to an optiSLang monitoring database file first (for example, with Excel).

To run the wizard:

  1. Open the wizard using either of the following methods:

    • In the Postprocessing window, select File > Import > From File.

    • Edit the Postprocessing node, and select a text, comma separated values, or spreadsheet file. Right-click the node on the Scenery pane and select Show Postprocessing.

  2. If the Chosen file field is empty:

    1. Click  .

    2. Browse to a text (*.txt), comma separated values (*.csv), or spreadsheet (*.xlsx, *.xls, *.ods) file.

    3. Select the file and click Open.

  3. If you have previously run this wizard and exported the wizard settings, you can import them.

    1. Select Settings > Import settings.

    2. Browse to the location of the settings JSON file, select it, and click Open.

      The settings are loaded into the wizard. You can now click Next through the remainder of the wizard and click Finish to run it.

  4. In the Read from section, select one of the following options:

    • Beginning: Reads through the total file from the start.

    • Line offset: Starts reading after skipping the first n lines. Enter the value of n in the text field.

    • Marker: Starts reading when a specific text string (for example #DesignData) is found.

  5. In the Delimiters section, select the character that separates the lines.

    If you have selected the Other check box, enter the custom delimiter (for example, | or *) into the text field.

  6. Check the Preview pane to ensure you are importing the correct information.

    To show the rows that will be imported without displaying the data, select the Overview check box.

  7. Click Next.

    The Modify data page is displayed.

  8. In the Design layout section, if the data is organized in a horizontal table, leave the setting as Horizontal. If the data is organized in a vertical table, select Vertical,


    Note:  The preview pane shows the outcome after the settings in the wizard have been applied, not the initial data in the file.


  9. Adjust the row and column settings as needed.

    OptionDescription
    Row settings
    Assume has headerWhen selected, finds the line containing dimension names to be used in the postprocessing (selected by default).
    Header lineSets the table row that contains the header data. Only available when the Assume has header check box is selected.
    LinesSets the range of table rows to import data from.
    IncrementImports the first table row set in the Lines field and every n-th row following.
    Column settings
    MaximumSets the header name or column number of the final column to import. Ignores any columns after this point.
    IncludeSets the header names or column numbers of the columns to import. Ignores any columns not in this field.
    ExcludeSets the header names or column numbers of the columns to exclude. All other columns are imported.
    IncrementImports the first table column and every n-th column following.
  10. Check the Preview pane to ensure you are importing the correct information.

    To show the rows that will be imported without displaying the data, select the Overview check box.

  11. Click Next.

    The Manipulate page is displayed.

  12. In the Replace table, you can replace text found in the specified columns.

    OptionDescription
    ValueSets what text to search for.
    ReplacementSets the text that replaces the contents of the Value field.
    Word partSets the text replacement conditions:
    • Part: The replacement is done for every partial text found, even if it occurs more than once in the cell text.

    • Complete text: The entirety of the cell's text must equal the value for the replacement to occur.

    ColumnSets search area:
    • All columns: Searches for text in all columns

    • Specific column: Searches in the column specified by the column number. To search in multiple specified columns, add another line to the Replace table.

  13. In the Add column table, you can add a new column to the data set by creating an expression from existing table cells.

    OptionDescription
    NameSets the column header name (for example, max_stress_modified).
    ExpressionSets the data calculation (for example, max_stress-25000).
  14. Check the Preview pane to ensure you are importing the correct information.

    To show the rows that will be imported without displaying the data, select the Overview check box.

  15. Click Next.

    The Clean up data page is displayed.

  16. You can use this page to determine how the data import will be handled if the rows contain certain conditions.

    OptionDescription
    Incomplete asSets how a row is handled when one or more cells in the row do not contain data:
    • Activated: The applicable table rows are highlighted light green and are shown as active designs on the next page of the wizard.

    • Deactivated: The applicable table rows are highlighted dark green and are shown as deactivated designs on the next page of the wizard.

    • Don't import: The applicable table rows do not appear on the next page of the wizard.

    Contains infinity asSets how a row is handled when one or more cells in the row contains inf, -inf, infinity, or -infinity (text case does not matter):
    • Activated: The applicable table rows are highlighted light green and are shown as active designs on the next page of the wizard.

    • Deactivated: The applicable table rows are highlighted dark green and are shown as deactivated designs on the next page of the wizard.

    • Don't import: The applicable table rows do not appear on the next page of the wizard.

    Inf can be a valid design entry, dependent on the use case, and will be displayed as inf in the design table on next page of the wizard.

    Contains NaN asSets how a row is handled when one or more cells in the row contains nan, notanumber, or not a number (text case does not matter):
    • Activated: The applicable table rows are highlighted light green and are shown as active designs on the next page of the wizard.

    • Deactivated: The applicable table rows are highlighted dark green and are shown as deactivated designs on the next page of the wizard.

    • Don't import: The applicable table rows do not appear on the next page of the wizard.

    NaN will be treated as non-existent dimension value for this design, the same as if empty cells are imported.

  17. Check the Preview pane to ensure you are importing the correct information.

    To show the rows that will be imported without displaying the data, select the Overview check box.

  18. Click Next.

    The Finalize page is displayed.

  19. In the Dimension settings area, you can select various dimension types. If nothing is changed here, all columns are imported as parameter values.

    OptionDescription
    Automatically identify vector responses When selected, turns dimensions names with brackets at the end (for example, stresses[0]) into vector responses.
    Dimension type buttonsActivate these buttons by selecting one or more table rows, then click the appropriate button:
    • Id: Design ID (active when only one table row is selected)

    • P: Parameter

    • R: Response

    •  : Do not import

    if vector response rows are selected, you cannot select Id or P.

    Original indexRestores the original order of the table rows.
    NameDisplays the detected dimension name.
    Alternative nameDisplays a valid name if the dimension name is not found. You can also enter an alternative dimension name if you do not like the entry in the Name cell.
    Dimension typeSets the dimension type from the following options:
    • Parameter: Import as parameter

    • Response: Import as response

    • Design Id: Use values as design IDs. only one dimension can be a design ID, if another is chosen, the previous one is reset

    • Don't import: Do not import dimension

    Data typeSets the data type:
    • Auto detect (preselected)

    • String

    • Bool

    • Integer

    • Real

  20. In the Import options area, you can set some final import options.

    OptionDescription
    Start design id numbering withIf the original data table does not have a design ID column, you can set the starting ID number. The default value is 1.
    Duplicated designsWhen selected, imports duplicated designs. Selected by default.
    Deactivated designsChecks the following in the Preview table:
    • If this check box is selected and one or more check boxes in the Activation column are cleared, the designs are imported into postprocessing but are deactivated. They must be activated again there to be visible.

    • If this check box is cleared and one or more check boxes in the Activation column are cleared, the designs are not imported into postprocessing.

  21. Check the Preview pane to ensure you are importing the correct information. You can activate or deactivate designs here.

  22. If you want to save these wizard settings for future use, you can export them.

    1. Select Settings > Export settings.

    2. Browse to a location where you want to save the JSON file, enter a File name, and click Save.

      The settings are saved to the JSON file. You can import the settings the next time you run the wizard.

  23. Click Finish.