EAGLE Help

USE


Function
Marks a library for use.

Syntax
USE
USE -*;
USE library_name..;

See also ADD, REPLACE

The USE command marks a library for later use with the ADD or REPLACE command.

If you activate the USE command without a parameter, a file dialog will appear that lets you select a library file. If a path for libraries has been defined in the "Options/Directories" dialog, the libraries from the first entry in this path are shown in the file dialog.

The special parameter -* causes all previously marked libraries to be dropped.

library_name can be the full name of a library or it can contain wildcards. If library_name is the name of a directory, all libraries from that directory will be marked.

The suffix .lbr can be omitted.

Note that when adding a device or package to a drawing, the complete library information for that object is copied into the drawing file, so that you don't need the library for changing the drawing later.

Changes in a library have no effect on existing drawings. See the UPDATE command if you want to update parts from modified libraries.

Using Libraries via the Control Panel

Libraries can be easily marked for use in the Control Panel by clicking on their activation icon (which changes its color to indicate that this library is being used), or by selecting "Use" from the library's context menu. Through the context menu of the "Libraries" entry in the Control Panel it is also possible to use all of the libraries or none of them.

Used Libraries and Projects

The libraries that are currently in use will be stored in the project file (if a project is currently open).

Examples

USE opens the file dialog to choose a library
USE -*; drops all previously marked libraries
USE demo trans*; marks the library demo.lbr and all libraries with names matching trans*.lbr
USE -* /eagle/lbr; first drops all previously marked libraries and then marks all libraries from the directory /eagle/lbr


Index Copyright © 2005 CadSoft Computer GmbH