The USE command loads a library into memory. When a library is loaded, devices or packages can be added to the current drawing with the ADD command.
To change to a different library, simply enter a new USE command with the name of the desired library.
If you activate the USE command without a parameter, a popup menu will appear that contains all of the files with the extension *.lbr (in the current directory) for selecting. If a path for libraries has been defined in the "Options/Directories" dialog, the libraries from this directory are shown in the popup menu.
The special parameter -* causes all previously loaded 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 loaded.
The suffix .LBR can be omitted.
If more than one library name is given only the last one will be actually loaded into memory. All others will be kept in an internal list and will be available to choose from in the dialogs of the ADD and REPLACE command.
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.
If the library you are going to use has been modified in a library editor window and has not yet been saved, you will be asked whether to save that library file. If you answer that question with Yes, the library will be saved and you will use the modified file. If you answer No, the modified file will not be saved and you will use the library as it is on the disk. The Cancel button will cancel the whole command, so that nothing will be saved and no new library will be used.
Examples
USE | opens the file dialog to choose a library |
USE -*; | drops all previously loaded libraries |
USE demo trans*; | loads the library demo.lbr and all libraries with names matching trans*.lbr |
USE -* /eagle/lbr; | first drops all previously loaded libraries and the loads all libraries from the directory /eagle/lbr |
Index | Copyright © 1999 CadSoft Computer GmbH |