EAGLE Help

REPLACE


Function
Replace a package on a board.

Syntax
REPLACE package_name *..

See also SET, UPDATE

The REPLACE command has two different modes that are chosen by the SET command. In both modes it is possible to substitute a component with another component.

The first mode (default) is activated by the command:

SET REPLACE_SAME NAMES;
In this mode the new package must have the same pad and smd names as the old one. It may be taken from a different library and it may contain additional pads and smds. The position of pads and smds is irrelevant.

Pads of the old package connected with signals must be present in the new package. If this condition is true the new package may have less pads than the old one.

The second mode is activated by the command

SET REPLACE_SAME COORDS;
In this mode, pads and smds of the new package must be placed at the same coordinates as in the old one (relative to the origin). Pad and smd names may be different. The new package may be taken from a different library and may contain additional pads and smds.

Pads of the old package connected with signals must be present in the new package. If this condition is true the new package may have less pads than the old one.

REPLACE functions only when the appropriate tOrigins/bOrigins layer is displayed.

The REPLACE command can't be used while Forward&Back Annotation is active. Use the CHANGE PACKAGE or UPDATE command in that case.

If there is already a package with the same name (from the same library) in the drawing, and the library has been modified after the original object was added, an automatic library update will be started and you will be asked whether objects in the drawing shall be replaced with their new versions. Note: You should always run a Design Rule Check (DRC) and an Electrical Rule Check (ERC) after a library update has been performed!


Index Copyright © 2005 CadSoft Computer GmbH