🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Issue with command line cadfeko execution

Angelo RomanoUser: "Angelo Romano"
New Altair Community Member
Updated by Angelo Romano

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.

Find more posts tagged with

Sort by:
1 - 1 of 11
    JaehoonUser: "Jaehoon"
    Altair Employee
    Updated by Jaehoon

    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