Versions Compared

Key

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

...


If a .bat file exists in the problem type directory when choosing Start in the calculations window, GiD will automatically write the analysis file inside the example directory assigning the name project_name.dat to this file (if there are more files, the names project_name-1.dat ... are used). Next, this shell script will be executed.

GiD will assign three these arguments to this script:

  • 1st argument: project_name (name  name of the current project );(e.g. project_name)
  • 2nd argument: c:\a\b\c path of the current project (e.g C:\temp\project_name.gid (path of the current project);
  • 3rd argument: c:\a\b\c path of the problem type selected (e.g. C:\Program Files\GiD\GiD 16.1.3d\problemtypes\problem_type_name.gid (path of the problem type selected);)
  • 4th argument: path of gid exe  (e.g. C:\Program Files\GiD\GiD 16.1.3d\gid.exe)


Among other utilities, this script can move or rename files and execute the process until it finishes.

...


In Windows platforms, the command.exe provided by GiD is used instead the standard cmd.exe or command.com to evaluate the bat file