INVOKING GiD

When installing GiD on Windows, the useful way is to start GiD from desktop icon:

There is also added a direct access from the programs list of the start menu.

An special option is to start 'GiD safe mode', then a window will be open to ask the user to select how to handle OpenGL graphics: by software or by hardware (some graphic cards and drivers have problems with the hardware option, the screen can show corrupted images or even GiD can crash)

It's possible to change this options by clicking on

/
in the bottom right corner of GiD window

When starting the GiD program from a shell or script it is possible to supply several options in the same command line.

With

gid -help

the program will list the possible command line options.

Command line syntax:

gid [-b[{+/-}g][{+/-}i][{+/-}w] batchfile] [-t tcl_command] [-h] [-p problem] [-e cmd] [-n] [-n2] [-c][-c2] [filename]

All options and filename are optional. filename is the name of a problem to be opened (the .gid extension is optional).

Options are:

example:

gid -t "WarnWinText [GiD_Info Project]" C:\temp\myexample

Note: by default, when running a batch file from the command line or importing a Batch file from the 'Files->Import' menu, graphics are disabled, and then for example is not possible to save an snapshot in a file. To enable graphic features use gid -b+g batchfile

On the other hand when reading a file with the Read batch window graphics are enabled.

Other useful options are:

gid -compress [ -123456789ad] file_name_in file_name_out

in order to compress (gzip) a file, e.g. to compress '.dat' files or new postprocess formatted data files.

And:

gid [ -PostBinaryFormat { 1.0 / 1.1}] -PostResultsToBinary file_in file_out

in order to transform ASCII results files into compressed binary ones. You can select whether to use the binary format 1.0 or 1.1. The default format (recommended) is 1.1.