Not cashed process of fli.exe - HiStructClient/femcad-doc GitHub Wiki

There is a possibility to run a code under fli.exe process, its evaluation is not being cashed, so it doesnt consume memory. The start of the evaluation has to be invoked only throught vanille, not-upgraded fcs and passed parameter. Unfortunately, the possible types of parameter are limited (string, array, dyn. object, not gclass or complex objects).

To start a process, there is Fcs.Process.Function().GetValue() function. The function has three parameters:

Fcs.Process.Function('{FcsName}','{Attribute}'){Updater}

FcsName is absolute path to vanille fcs file, Attribute is called variable in fcs file and Updater is clasic update of the fcs file (note that not all object are possible for update).

The function can look like this:

(Fcs.Process.Function(
   "C:\\GitHub\\fcs-gsi\\_Common\\FcsStructural\\DesignFliRunner.fcs","resultVariable"){
      passedValue1 = 0,
      passedValue2 = 1,}
).GetValue()

Its better to replace the string absolute path with function Fcm.GetFileNamePath("DesignFliRunner.fcs").