EAGLE Help

SET


Function
Alters system parameters

Syntax
SET
SET options;

Parameters which affect the behavior of the program, the screen display, or the user interface can be specified with the SET command. The precise syntax is described below.

A dialog in which all the parameters can be set appears if the SET command is entered without parameters.

User Interface

Snap function SET SNAP_LENGTH number;
This sets the limiting value for the snap function in the ROUTE command (using the current unit).
Default: 20 mil
If tracks are being laid with the ROUTE command to pads that are not on the grid, the snap function will ensure that a route will be laid to the pad within the snap-length.
SET SNAP_BENDED ON | OFF;
If set on then the bend in the routed track will be on the grid in wire_bends 1 and 3.
SET SELECT_FACTOR value;
This setting controls the distance from the cursor within which nearby objects will be suggested for selection. The value is entered relative to the height of the presently visible part of the diagram.
Default: 0.02 (2%).
Menu contents SET USED_LAYERS name | number;
Specifies the layers which will be shown in the associated EAGLE menus. See the example file mylayers.scr.
The layers Top, Bottom, Pads, Vias, Unrouted, Dimension, Drills and Holes will in any case remain in the menu, as will the schematic layer. Signal layers in which tracks are present also remain in the menu.SET Used_Layers All activates all layers.
SET WIDTH_MENU value..;
SET DIAMETER_MENU value..;
SET DRILL_MENU value..;
SET SMD_MENU value..;
SET SIZE_MENU value..;
The content of the associated popup menus can be configured with the above command for the parameters width etc.. A maximum of 16 values is possible for each menu (16 value-pairs in the SMD menu).
Example:
Grid Inch;
Set Width_Menu 0.1 0.2 0.3;
Bend angle for wires SET WIRE_BEND bend_nr;
style_nr can be varied from 0 to 4.
0: Starting point - horizontal - vertical - end
1: Starting point - horizontal - 45° - end
2: Starting point - end (straight connection)
3: Starting point - 45° - horizontal - end
4: Starting point - vertical - horizontal - end
Beep on/off SET BEEP ON | OFF;

Screen display

Color for grid linesSET COLOR_GRID color;
Layer color SET COLOR_LAYER layer color;
Fill pattern for layer SET FILL_LAYER layer fill;
Grid parameters SET GRID_REDRAW ON | OFF;
Refresh display or not when grid has been altered.
SET MIN_GRID_SIZE pixels;
The grid is only displayed if the grid size is greater than the set number of pixels.
Min. text size shown SET MIN_TEXT_SIZE size;
Text less than size pixels high is shown as a rectangle on the screen. The setting 0 means that all text will be displayed readably.
Net wire display SET NET_WIRE_WIDTH width;
Pad display SET DISPLAY_MODE REAL | NODRILL;
REAL: Pads are displayed as they will be plotted.
NODRILL: Pads are shown without drill hole.
SET PAD_NAMES ON | OFF;
Pad names are displayed/not displayed.
Bus line display SET BUS_WIRE_WIDTH width;
DRC-Parameter SET DRC_FILL fill_name;
Polygon calculation SET POLYGON_RATSNEST ON | OFF;
See POLYGON command.
Vector font SET VECTOR_FONT ON | OFF;
See TEXT command.

Mode parameters

Package check SET CHECK_CONNECTS ON | OFF;
The ADD command checks whether a pin has been connected to every pad (with CONNECT). This check can be switched off. Nevertheless, no board can be generated from a schematic if a device is found which does not have a package.
REPLACE mode SET REPLACE_SAME NAMES | COORDS;
UNDO buffer on/off SET UNDO_LOG ON | OFF;
Wire optim. on/off SET OPTIMIZING ON | OFF;
If set on, wires which lie in one line after a MOVE, ROUTE or SPLIT are subsumed into a single wire. See also OPTIMIZE.

Color, listed according to color numbers, which can be used instead of the color names. Used to specify colors:

0 Black
1 Blue
2 Green
3 Cyan
4 Red
5 Magenta
6 Brown
7 LGray
8 DGray
9 LBlue
10 LGreen
11 LCyan
12 LRed
13 LMagenta
14 Yellow
15 White

Fill specifies the style with which wires and rectangles in a particular layer are to be filled. This parameter can also be replaced with the number at the beginning of each line:

0 Empty
1 Solid
2 Line
3 LtSlash
4 Slash
5 BkSlash
6 LtBkSlash
7 Hatch
8 XHatch
9 Interleave
10 WideDot
11 CloseDot


Index Copyright © 2002 CadSoft Computer GmbH