Curve Export

Export plot data in several different formats so that it can be read by other software applications.

Export templates can be added to the Export Curves dialog using the *AddExportFormat() statement in the preference.mvw file.

Export format templates are written using the Templex programming language.
Note:

Only curves that are turned on are exported. Any curves that are currently turned off within a plot are not exported.

  1. From the menu bar, select File > Export > Curves.
    The Export Curves dialog opens.
  2. For Export Format, select the format for exported data.
    Option Description
    Excel (.csv) CSV, comma separated values, format. CSV is compatible with most spreadsheet applications. Commas delimit the data.
    Columns (.col) One column for X data and another for Y data. A blank line separates each curve in the plot. Tabs delimit the data.
    XY DATA (.dat) One column for X data and another for Y data. The data set for each curve in the plot begins with XYDATA and ends with ENDATA. The XY units and the axis labels are included at the top of each data set. Tabs delimit the data. HyperMesh uses this format.
    XGRAPH (.xgr) One column for X data and another for Y data. The XY units and the axis labels are included as comments at the top of each data set. Tabs delimit the data.
    tableG (.dat) OptiStruct tableG format.
    Summary (.sum) The summary file contains the plot title and a table listing the curves in the plot, the X and Y data labels, and the min and max values of each curve.
    ADAMS Spline (.adm) The X values for each curve are listed in comma delimited columns followed by the Y values in comma delimited columns. The first data set in the file is labeled SPLINE/0. The label for each successive data set is incremented by one.
    Altair Binary (.abf) All curves in the window are written to an Altair Binary format file.
    CSV Blocks (.csv) CSV blocks writes out a file with four values, XYXY. The data is comma separated.
    DAC (.dac) Exports curve data to DAC files, one file per curve. If more than one curve is requested, the name of the output file is modified by adding the unique request name to the file name.
    RPC (.rsp) The RPC file will contain one time channel and multiple signal channels. Value-based and file-based curves can be exported as an RPC file.
    Excel Europe (.csv) The Excel Europe .csv format writes out a file with the CSV extension, but uses a semi-colon instead of a comma to separate columns.
    User-specified DLL (.dll) A user-specified DLL, registered with the preferences statement *RegisterExportDLL().

    After the preference file is read, if you select Export Curves, the name of the DLL will be at the end of the list of formats in the Export Curves dialog box.

    ISO MME (.mme) Exports curve data to an export.mme file. Upon export, a channel folder is created that contains a channel for each curve.

    See the ISO MME section below for more information.

  3. In the File Path field, specify a location and file name.
  4. For Range, select which pages to export.
    • Choose All to export every curve on every page in the page list to the specified file.
    • Choose Current plot to export just the currently displayed plot to the specified file.
    • Choose Current page to export just the currently displayed page to the specified file.
    • Choose Pages to export a specific group of pages from the page list. Enter the page number of the first page in the From field, and enter the page number of the last page in the To field.
  5. For Values, select the curve values to export.

    Value pairs, where either x, y, or both values cause a domain violation, will not be exported.

    • Choose Original Curve Values to export the curve's original values.
    • Choose Displayed Axis Values to export the dB scaled values.
      Restriction: Not available when Export Format is set to Summary, DAC, RPC, or ISO MME.
  6. If Export Format is set to ISO MME, define additional options.

    Exporting curves using the ISO MME format creates a channel folder that contains one channel file with the format export.chn as well as a file for each curve in your session. The curve files have the format export.001, export.002, and so on. The files contain curve and session information.

    You can then import the export.mme file to read the data back into HyperGraph.

    • To delete any existing files in the channel directory upon export, select the Delete all existing files in channel directory checkbox.
    • To enter a start and end point to remove data outside of the specified range, select the Trim curve label checkbox.
  7. Click OK.