Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

in fact can return a list with the batch_name and some extra parameters that arguments to be added to the bat call

Note: The batch_name must be relative to the problemtypes folder, not absolute, and the extra arguments will be added to the four default arguments of the call to run the calculationarguments 

Code Block
proc GiD_Event_SelectGIDBatFile { dir basename } {
    ...body...
    set value ...
    return $value
}

...

This example maintain the default bat filename to be called, but add the the four default arguments a 5th 5th extra argument (with the number of threads, specified by the user in the preferences window)

...