User Guide
The DEV, SYM and PAC labels indicate those segments within the file
which are only to be executed if the device, symbol or package editor
modeisactivated.
Commands which are defined before the first label (normally BRD:) are
validforallEditorwindows.
If, because of the specifications in a project file, EAGLE opens one or
more editor windows when it starts, it is necessary to close these and to
reopen them so that the settings in eagle.scr are adopted. It is, as an al
-
ternative, possible simply to read the file eagle.scr through the SCRIPT
command.
Commentscanbeincludedinascriptfilebyprecedingthemwith #.
Exampleofaneagle.scrfile:
# This file can be used to configure the editor windows.
Assign AF3 'Window 4;';
Assign AF4 'Window 0.25;';
Assign AF7 'Grid mm;';
Assign AF8 'Grid inch;';
BRD:
#Menu Add Change Copy Delete Display Grid Group Move\
# Name Quit Rect Route Script Show Signal Split \
# Text Value Via Window ';' Wire Write Edit;
Set Pad_names on;
Set Width_menu 0.008 0.01 0.016;
Set Drill_menu 0.024 0.032 0.040;
Set Size_menu 0.05 0.07 0.12;
Set Used_layers 1 16 17 18 19 20 21 22 23 24 25 26 \
27 28 39 40 41 42 43 44 45;
Change width 0.01;
Change drill 0.024;
Change size 0.07;
SCH:
Grid Default;
Change Width 0.006;
#Menu Add Bus Change Copy Delete Display Gateswap \
# Grid Group Invoke Junction Label Move Name Net \
# Pinswap Quit Script Show Split Value Window ';' \
# Wire Write Edit;
LBR:
#Menu Close Export Open Script Write ';' Edit;
DEV:
Grid Default;
#Menu Add Change Copy Connect Delete Display Export \
# Grid Move Name Package Prefix Quit Script Show \
# Value Window ';' Write Edit;
77
PrinciplesforWorkingwithEAGLE