Problems with .lua scripting
Hello,
I try to write a .lua script in order to automatize the creation of a scene.
For instance, I can add a cuboid to this scene, then translate it and scale it (cf. "Script1.lua").
It's then appreciable to use the macro recording to understand the feko lua coding.
But in this case, I have the messages " Macro recording is not supported…" when scripting the translation/scaling (lines 17 and 25). If I delete this lines, the .lua file works fine (i.e. creates and translates/scales correctly my cuboid).
Would anyone have an explanation ?
I also need to add some items of the component library (for instance helicopters, ships, cars…) :
but it seems that Feko doesn't allow to script that in a .lua file : when I record the adding of an helicopter, I get the message "Macro recording is not supported for the Component Library."
Would someone know a command to put in a .lua script in order to add component library items ?
Thank you in advance.