Deactivating Macro Recording

Deactivate the macro recording of the model, inspect the resulting Feko Lua script and use the script to recreate the model.

  1. Deactivate macro recording using one of the following workflows:
    • On the Home tab, in the Scripting group, click the  Record Macro icon.
    • Click the icon in the status bar.

Macro recording is deactivated. The Script Editor window is displayed containing the Feko Lua script.



Figure 1. The Script Editor window.

  1. Save the Feko Lua script.
    1. On the Script Editor window, save the Feko Lua script by clicking on the icon.
    2. On the Save As dialog, browse to a folder and specify a file name.
    3. Click Save to save the Feko Lua script and to close the Save As dialog.
  2. Open a new project and recreate the model using the Feko Lua script.
    1. On the Home tab, in the File group, click the  New Project icon.
    2. On the Script Editor window, click the icon to run the Feko Lua script.
The model is recreated using the Feko Lua script (see Macro Recording of Example 3).
Note: For more information regarding scripts and the Feko application programming interface (API), see the Feko Scripting and API Reference Guide.