Enrique Escolano wrote:
A batch file cannot have a special name or extension.
There is no special extension for batch files.
The valid commands in a batch are exactly the same names that appear in the
right button bar
(select Utilities-Graphical-Toolbar to visualize these Right Buttons)
Note: when select Undo, it appear the sequence of used commands. This is a
sample of bath file.
The user can also automatically save the commands in a bachfile (see
preferences, Write batch file)
When activating this option, all the commands since GiD is started will be saved
into the given file name.
Remember to copy or move the file before the next GiD session is started, or
you'll loose the file, as it is overwritten.
To load a batch, use Files-Read Batch file (or Utilities-Graphical-Read
Batch Window to execute step by step the file)
This window has some advantages over the command line option:
the batch file can be stopped everywhere, loops can also be created, . . .
or through the command line ( remember to remove the last order of the batch file:
it is the 'quit' command, which will close GiD and is also saved):
gid -b batch_file
gid -b[options] batch_file
being options one, or combination, of:
+g -g +i -i +w -w to enable/disable graphic updates, input updates and window updates
for instance: gid -b+g+w+i pepito_batch
----- Original Message -----
From: "CASARES MALDONADO ALEJANDRO" ACASARES at puceuio.puce.edu.ec
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, July 09, 2001 8:06 PM
Subject: [ GiDlist ] Batch data reading in GID
High to all:
Which is the better way of reading GID data for a new project (specially
geometry data) without typing it in interactive mode? Perhaps "Reading
batch
file"?. But what is the content of that file?, Does it have some special
name or extension? Are there some special commands for doing so? I have
looked in the reference manual, without finding a clear answer.
Alejandro Casares
--
--------------------------------------------------------------------------------
Miguel A. de Riera Pasenau miguel at cimne.upc.es http://gid.cimne.upc.es
[ GiDlist ] Batch data reading in GID
Moderator: GiD Team