Importing Parameter Sets

You can import parameter sets from a file. For .csv and .ssv files, you can select to insert the values in the current assessment template or in a new assessment template. For .ssp files, new assessment templates are always created, since an .ssp file can contain several parameter sets.

You can select to import the parameter set from a local file on your computer, or from a Document (sometimes referred to as an ENOVIA Document) in the database.

An advantage of import and export of parameter sets is that you can change a large number of values at the same time, instead of changing one at a time.

Notes:
  • Imported files must be encoded in UTF-8, in particular if they contain national characters like å, ä, é etc.
  • You can access files inside a Document in the database.
  • If you use alias names for parameters in cockpits, you can use the alias names in the parameter sets.
    Notes:
    • Alias names are specific for each cockpit.
    • For how to specify parameter alias names in cockpits, see Creating a Cockpit.
  • If the parameter set you import contains any values with other units than the units in the current assessment template, such values are converted to the units of the current assessment template.
  • The parameter set can contain comments, but those are not taken into account when importing.

This task shows you how to:

Import from a CSV or an SSV File

You can import a parameter set from a .csv file or an .ssv file.

Before you begin: Two conditions must be valid:
  • First condition: A .csv file must fulfill the following:
    • One column with parameter names. Alias names can be used, if so, see next condition.
    • One column with parameter values
    • (Optional) One column with parameter units
    • (Optional) One column with comments
    Respect the above order of the columns. An example of a .csv file for the demo Coupled Clutches, without using any alias names:
    J1.J, 0.8, , "Medium light"
    g, 1.234, GHz, "Really fast"
    T2, 400, ms, "Normal, split unit"
    If the alias name Inertia1 is specified for J1.J, the example can look like:
    Inertia1, 0.8, , "Medium light"
    g, 1.234, GHz, "Really fast"
    T2, 400, ms, "Normal, split unit"
  • Second condition: For any parameter set file, if using alias names in the file, you must open the cockpit where these alias names are specified, before importing the parameter set.
    Note: Each cockpit can have its own alias names.
  1. To import a parameter set from a .csv or an .ssv file, from the Design section of the action bar, click Import Parameter Set .
  2. In the Source field, select how to browse:
    • For a local file using a common file browser, select Local file.
    • For a file in the database, select Database.

    By default, Local file is selected.

    Note: You can also drop a file into the File field. You can drop a local file or a file from the database. If you do this, skip the next step.

  3. Browse for the file by clicking , select the file, and then click OK to validate the selection.
  4. If you select or drop a Document (sometimes referred to as an ENOVIA Document) from the database, that Document can contain several .csv or .ssv files. If so, these file names appear in the import parameter set dialog. To select a file, click the file name.

    Note: To work with Documents and their files, you can use the Document Management app.

  5. To create a new assessment template for the imported values instead of applying the values to the current assessment template, activate New assessement.
  6. Click OK to import the parameter set and apply the values in the imported file.
    The relevant values are imported. A message informs about the result.
  7. To see the result for each value, click the information message in the Messages Reporting dialog.
    • Parameter values that are successfully imported are displayed with values.
    • For other parameter values, messages indicate the error causes. As an example, in the CSV file example above, g does not exist as a parameter in the Coupled Clutches model.

Import from an SSP File

You can import one parameter set or several parameter sets from an .ssp file, depending on how many parameter sets the file contains.

Before you begin: For any parameter set file, if using alias names in the file, you must open the cockpit where these alias names are specified, before importing the parameter set.
Note: Each cockpit can have its own alias names.
  1. To import a parameter set from an .ssp file, from the Design section of the action bar, click Import Parameter Set .
  2. In the Source field, select how to browse for the file:
    • To browse for a local file using a common file browser, select Local file.
    • To browse for a file in the database, select Database.

    By default, Local file is selected.

    Note: You can also drop a file directly into the File field, instead of browsing for it. You can drop a local file or a file from the database. If you do this, skip the next step.

  3. Browse for the file by clicking , select the file, and then click OK to validate the selection.
  4. If you select or drop a Document (sometimes referred to as an ENOVIA Document) from the database, that Document can contain several .ssp files. If so, these file names appear in the import parameter set dialog. To select a file, click the file name.

    Note: To work with Documents and their files, you can use the Document Management app.

  5. Click OK to import the parameter set and apply the values in the imported file to the new assessment templates.

    For an .ssp file, new assessment templates are always created.

    The relevant values are imported. A message informs about the result.
  6. To see the result for each value, click the information message in the Messages Reporting dialog.
    • Parameter values that are successfully imported are displayed with values.
    • For other parameter values, messages indicate the error causes. As an example, in the CSV file example above, g does not exist as a parameter in the Coupled Clutches model.