Macros
How to use macro : ConvertCSVToOMLFile ?
Creation 06/11/2019
Last update
Version soft Flux 2019.1
Author PL
Reviewers
Introduction This document deals with how to install a macro, and how to use the
ConvertCSVFileToOMLFile macro. It will include the following topics:
• Macro definition: ConvertCSVFileToOMLFile
• Install a macro
Macro definition : ConvertCSVFileToOMLFile
Goal of the This macro intends to create an OML File from a CSV file. The goal is to
macro simplify the transfer of data between Flux and Activate or Compose.
Furthermore, the macro will recognize the input data, and separate them from
the output.
Figure 1 : interface of ConvertCSVFileToOMLFile
Figure 2 : example of CSV file
Figure 3 : example of OML file created in this case
1
Macros
Install a macro
Path Macros delivered with Flux are directly installed in folder :
Installation C:\Program Files\Altair\2020\flux\Extensions\Macros
(If Flux is installed at the path proposed by default C:\Program Files\Altair)
Calling a macro In order to use a macro, you have to follow the next steps:
Step Actions
1 Open Flux
2 Click on [Project] [Macro] [Load], and select the right macro
3 To run a macro, you have to click on [Project] [Macro] [Run]
Then select the macro you want to run.
2
Macros
Macro description
Folder Macros Description
Macros [Link] Convert directly CSV file into OML file. The
input are recognized.
Input:
• Select CSV file
Output:
• Create a result OML file with name
created from the initial file (*_res.oml)
Folder Macros Description
Macros [Link] Convertit automatiquement un fichier CSV
en fichier OML.
Entrée:
• Choisir un nom de fichier CSV
Output:
• Créer un fichier OML à partir du nom
initial (*_res.oml)