Script to execute LUA script

CrisWu
CrisWu New Altair Community Member
edited October 2020 in Community Q&A

Hi, Guys, 

 

Does any know is there a way to execute LUA script automatically? Can I use a batch file in windows ?

 

Best Regards

 

Cris

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited April 2018

    Hello CrisWu,

     

    Are you asking if it is possible to run FEKO Lua scripts in CADFEKO or POSTFEKO? CADFEKO and POSTFEKO have options to allow running scripts, configuring scripts (init variables) and run in non-interactive mode (no GUI). These are described in the documentation, but I have repeated them below.

    • --non-interactive
      Special execution mode for running automation scripts without user interaction.
    • --run-script SCRIPTFILE
      Specifies an automation script to load and run.
    • --configure-script CONFIGSTRING
      Executes the string CONFIGSTRING before running the script specified in SCRIPTFILE. This options is only used with the “non-interactive” option.
  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi, Guys, 

     

    Does any know is there a way to execute LUA script automatically? Can I use a batch file in windows ?

     

    Best Regards

     

    Cris

    FEKO also has Terminal.

    You can find it in CADFEKO.