Function
Swaps equivalent gates on a schematic.
Syntax
GATESWAP ..;
GATESWAP gate_name gate_name..;
See also ADD.
Using this command, two gates can be swapped within a schematic. Both gates must be identical with the same number of pins and must be allocated the same Swaplevel in the device definition. They do not, however, need to be in the same device.
The name used in the GATESWAP command is the displayed name on the schematic (for example U1A for gate A in device U1).
If a device is not used anymore after the GATESWAP command, it is deleted automatically from the drawing.
Function
Defines grid.
Syntax
GRID option..;
GRID;
Keyboard
F6: GRID; turns the grid on or off.
See also SCRIPT.
The GRID command is used to specify the grid and the current unit. Given without an option, this command switches between GRID ON and GRID OFF.
The following options exist:
GRID ON; | Displays the grid on the screen | |
GRID OFF; | Turns off displayed grid | |
GRID DOTS; | Displays the grid as dots | |
GRID LINES; | Displays the grid as solid lines | |
GRID MIC; | Sets the grid units to micron | |
GRID MM; | Sets the grid units to mm | |
GRID MIL; | Sets the grid units to mil | |
GRID INCH; | Sets the grid units to inch | |
GRID FINEST; | Sets the grid to the finest possible value | |
GRID grid_size; | Defines the distance between | |
the grid points in the actual unit | ||
GRID LAST; | Sets grid to the most recently | |
used values | ||
GRID DEFAULT; | Sets grid to the standard values | |
GRID grid_size grid_multiple; | ||
grid_size = grid distance | ||
grid_multiple = grid factor | ||
GRID ALT ...; | Defines the alternate grid |
Grid mm; Set Diameter_Menu 1.0 1.27 2.54 5.08; Grid Last;
In this case you can change back to the last grid definition although you don't know what the definition looked like.
GRID mm 1 10;
for instance specifies that the distance between the grid points is 1 mm and that every 10th grid line will be displayed. Note: The first number in the GRID command always represents the grid distance, the second - if existing - represents the grid multiple.
The GRID command may contain multiple parameters:
GRID inch 0.05 mm;
In this case, the grid distance is first defined as 0.05 inch. Then the coordinates of the cursor are chosen to be displayed in mm.
GRID DEFAULT;
Sets grid to the standard value for the current drawing type.
GRID mil 50 2 lines on alt mm 1 mil;
Defines a 50 mil grid displayed as lines (with only every other line visible), and sets the alternate grid size to 1 mm, but displays it in mil. Pressing the Alt key switches to the alternate Grid. This can typically be a finer grid than the normal one, which allows you to quickly do some fine positioning in a dense area, for instance, where the normal grid might be too coarse. The alternate grid remains active as long as the Alt key is held pressed down.
You can use parameter aliases to define certain parameter settings to the GRID command, in order to reference the settings later by the alias. The aliases can also be accessed by clicking the GRID button and holding the mouse button pressed until the list pops up. A right click on the button also pops up the list. The syntax to handle these aliases is:
GRID = name parameters
Defines the alias with the given name to expand to the given parameters. The name may consist of any number of letters, digits and underlines, and is treated case insensitive. It must begin with a letter or underline and may not be one of the option keywords.
GRID = name @
Defines the alias with the given name to expand to the current parameter settings of the command.
GRID = ?
Asks the user to enter a name for defining an alias for the current parameter settings of the command.
GRID = name
Opens the GRID dialog and allows the user to adjust the grid parameters and define an alias for them under the given name.
GRID = name;
Deletes the alias with the given name.
GRID name
Expands the alias with the given name and executes the GRID command with the resulting set of parameters. The name may be abbreviated and there may be other parameters before and after the alias (even other aliases). Note that in case name is an abbreviation, aliases have precedence over other parameter names of the command.
Example:GRID = MyGrid inch 0.1 lines on
Defines the alias "MyGrid" which, when used as in
GRID myg
will change the current grid to the given settings. Note the abbreviated use of the alias and the case insensitivity.
Function
Defines a group.
Syntax
GROUP ..
GROUP ALL
GROUP;
Mouse keys
Left&Drag defines a rectangular group.
Shift+Left adds the new group to an existing one.
Ctrl+Left toggles the group membership of the selected object.
Ctrl+Shift+Left toggles the group membership of the higher-level object.
Right closes the group polygon.
Ctrl+A kicks off GROUP ALL to select all objects.
See also CHANGE, CUT, PASTE, MIRROR, DELETE.
The GROUP command is used to define a group of objects for a successive command. A group can also consist of a single element or a whole drawing. To form a group, activate the GROUP command and make a selection by click&dragging a rectangle or by drawing a polygon with the mouse. The easiest way to close the polygon is to use the right mouse button. Only objects from displayed layers can become part of the group.
The keyword ALL can be used to define a group that includes the entire drawing area.
You can disable the selection of attributes by unchecking the Enable Attribute Selection toggle button on the parameter toolbar. This button is toggled on by default.
The group includes:
In order to move a group, it is necessary to select the MOVE command with the right mouse button. When moving wires (tracks) with the GROUP command that have only one end point in the polygon, this point is moved while the other one remains at its previous position. For instance: In order to change several pad shapes, select CHANGE and SHAPE with the left mouse button and select the group with the right mouse button.
The group definition remains active until a new drawing is loaded or the command
GROUP;
is executed.
If you press the Shift key together with any mouse click when defining the group, the newly defined group will be added to the existing group (if any). To extend an existing group, hold the Shift key while clicking the elements that you want to add to it.
You can toggle the group membership of an individual object by clicking it with the Ctrl key pressed. If you also press the Shift key when doing so, the group membership of the next higher-level object is toggled. For instance, clicking a net wire in a schematic with the GROUP command and Ctrl+Shift pressed toggles group membership of the entire segment.
There is a new user option that makes GROUP the default operation. You can left-click and drag to move objects, and more. See the Group Default On option for more info.