SALOME documentation central

Import/Export MED objects

There are two sources of MED objects:

To load MED objects from other components:

In the Object Browser, use context menu item Import Structure to import the whole MED structure, Import Field to import a certain field and Import TimeStamp to import a timestamp.

It is possible to load MED objects directly from the components, where they are published. Usually this is MED component, but it can also be Calculator, which creates MED objects as a result of execution of Supervisor graphs.
Note:
If you have just opened your study from a hdf, the data of components is not yet loaded. In this case the items Import Structure and Import TimeStamp will not be accessible. To load the data of any component from an opened hdf you can use Load Component Data command, accessible via the context menu of any object of the target component in the Object Browser. After the data of the component is loaded this item will disappear. The data from the components possessing their own GUI is loaded during the activation of the component GUI. The data of MED component is loaded automatically during the activation of Post-Pro GUI, the objects are imported from MED to Post-Pro rather often.

To import a MED file:

From the File menu choose Import -> MED File or right-click on the Post-Pro object in the Object Browser and select MED File option. After it you will see a standard dialog box allowing to search for and choose *.med files:
importfromfile.png
To confirm your choice click Open.

If the option Use Build Progress is checked in Post-Pro Sweep and MED Import Preferences, you will be able to choose how the object containing in the file will be built, otherwise the structure of the imported MED object will be immediately displayed in the Object Browser and it will be loaded and built as set in the Preferences.
buildprogress.png
Settings
  • Build all - when this option is checked, the application loads all data necessary for processing of the object.
  • Build at once - when this option is checked, you can't perform any operations until the MED file is fully loaded and processed.
  • Close dialog at finish - when this option is checked, the dialog box is closed after loading of the selected MED file. When unchecked, it allows to monitor the build process.
Import progress - allows to choose what items exactly should be built at loading. By default everything is checked in. Note that the coloured rectangles show the progress of the respective step and become blue when complete.
  • Build entities - displays the rate at which the geometrical data is loaded.
  • Build fields - when this option is checked, the fields are built automatically at loading.
  • Build min/max - parses time stamps at loading finding the highest and the lowest value.
  • Build Groups - builds groups and families at loading.
Time - shows the Elapsed time spent by the application on processing.

To export a MED file:

Right-click on the top level of MED object in the Object Browser and select Export to MED File option. When you do so you will see a standard dialog box where you can select the path and change the name of the exported MED file:
exportmedfile.png

To complete file export click Save.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS