Issue with command line cadfeko execution

Angelo Romano
Angelo Romano New Altair Community Member
edited June 4 in Community Q&A

Hi, I’m trying to run feko lua scripts from command line to change some variables inside cadfeko with a call from CLI.

When I run the script from the feko script editor it works fine but when I try to execute it from terminal it does not work and the message

”An error occurred while processing the command line:Loaded “FILENAME.cfx” Data could not be read from file “FILENAME.cfx” An unknown error occurred”

The command I run is : 

cadfeko “FILENAME.cfx” —run-script ChangeVar.lua

How can I fix this error?

Thanks in advance for the help.

Tagged:

Answers

  • Jaehoon
    Jaehoon
    Altair Employee
    edited June 4

    Hello Angelo,

    I think you can use $cadfeko filename --run-script ChangeVar.lua after moving to the corresponding directory.

     

    Please also see the following page of the Feko user guide.

    image

    Regards,

     

    Jaehoon