EAGLE commands can be entered in different ways:
Commands and parameters in CAPITAL LETTERS are entered directly (or selected in the command menu with the mouse). For the input there is no difference between small and capital letters.
Parameters in lowercase letters are replaced by names, number values or key words. Example:
Syntax: | GRID grid_size grid_multiple; |
Input: | GRID 1 10; |
Shorten key words
For command names and other key words, only so many characters must be entered that they clearly differ from other key words.
Alternative Parameters
The sign | means that alternative parameters can be indicated. Example:
Syntax: | SET BEEP ON | OFF; |
Input: | SET BEEP ON; |
or | |
SET BEEP OFF; |
Repetition Points
The signs .. mean that the function can be executed several times or that several parameters of the same type are allowed. Example:
Syntax: | DISPLAY option layer_name.. |
Input: | DISPLAY TOP PINS VIAS |
Coordinates
The sign normally means that an object has to be selected with the left mouse button at this point in the command. Example:
Syntax: | MOVE .. |
Input: | MOVE |
Mouse click on the first element to be moved | |
Mouse click on the target position | |
Mouse click on the second element to be moved | |
etc. |
This example also explains the meaning of the repetition points for commands with mouse clicks.
For the program each mouse click is the input of a coordinate. If
coordinates are to be entered as text, the input via the keyboard
must be as follows:
(x y)
x and y are numbers in the unit which has been selected with the GRID
command. The input as text is mainly required for script files.
Example for entering coordinates as text. You wish to enter the exact
dimensions for board outlines:
GRID 1 MM;
CHANGE LAYER DIMENSION;
WIRE 0 (0 0) (160 0) (160 100) (0 100) (0 0);
GRID LAST;
Semicolon
The semicolon (';') terminates commands. A command needs to be terminated
with a semicolon if there fewer than the maximum possible number of options.
For example the command
WINDOW;
redraws the drawing window, whereas
WINDOW FIT
scales the drawing to fit entirely into the drawing window. There is no semicolon necessary here because it is already clear that the command is complete.
Index | Copyright © 1999 CadSoft Computer GmbH |