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.
-
To import a parameter set from a .csv or an
.ssv file, from the
Edit section of the action bar,
click Import Parameter Set
.
-
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.
-
Browse for the file by clicking , select the file,
and then click OK to validate the selection.
-
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.
-
To create a new assessment for the imported values instead of applying the values to the current
assessment,
activate New assessement.
-
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.
-
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.
-
To import a parameter set from an .ssp file, from the
Edit section of the action bar,
click Import Parameter Set
.
-
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.
-
Browse for the file by clicking , select the file,
and then click OK to validate the selection.
-
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.
-
Click OK to import the parameter set and apply the values in
the imported file to the new assessments.
For an .ssp file, new assessments are always created.
The relevant values are imported. A message informs about the
result.
-
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.
|