cadsoft eagle 4.5 Manual De Usuario

Descargar
Página de 248
D. Configuration of the Text Menu
With the help of a script file (e.g. menu.scr) you can configure your own
text menu.
# Command Menu Setup
#
# This is an example that shows how to set up a complex
# command menu, including submenus and command aliases.
MENU ‘Grid {\
Metric
{\
Fine
: Grid mm 0.1; |\
Coarse : Grid mm 1;\
} | \
Imperial {\
Fine
: Grid inch 0.001; |\
Coarse : Grid inch 0.1;\
} | \
On
: Grid On; | \
Off : Grid Off;\
}’ \
‘Display {\
Top
: Display None Top Pads Vias Dim; |\
Bottom : Display None Bot Pads Vias Dim; |\
Placeplan {\
Top : Display None tPlace Dim; |\
Bottom : Display None bPlace Dim;\
}\
}’\
‘—’\
‘Fit : Window Fit;’\
Add Delete Move ‘;’ Edit Quit\
;
The backslash \ at the end of a line shows that a command continues in
the next line. Here the MENU command runs from the first line after
the comment to the last line.
The pipe sign | has to be used if a command within braces {} is followed
by another command.
240
EAGLE Manual