Table of Contents

3.5.6. IMPORT-MED function

optional

Description

This function is used to import the content of a .med (Salome) file into the specified SesamX model.

You can import two kinds of data from a .med file:

You can think of this function as an automation of successive calls to ADD-MESH and CREATE-SELECTION functions, from data provided by a .med file. Hence, the restriction stated in the ADD-MESH and CREATE-SELECTION functions still hold when importing a .med file.

Each group of the .med file will result in a specific selection in the SesamX model.

Keywords

Name Data Type Data number Optional Default value Physical quantity
MODEL STRING 1 NO
Name of the model on which to import the .med file.
PATH PATH 1 NO
Path to the .med file to import.
IMPORT-MESH BOOLEAN 1 YES YES
Boolean to enable the import of mesh data from the .med file.
IMPORT-SELECTIONS BOOLEAN 1 YES YES
Boolean to enable the import of selections data from the .med file.

Examples

IMPORT-MED
  MODEL: MY_MODEL
  PATH: "..\data\MY_MESH.med"
  IMPORT-MESH: YES
  IMPORT-SELECTIONS: NO

See also

References

-