Accessing Library Files
A schematic design can reference a library file block. To add a library file to a design, follow these steps.
-
From the Project Manager window, expand the Project Tree and [Active Design Folder]. Then right-click Data and select Add Library/Include Reference to open the Library/Include Reference window.
-
Enter a name for the .lib library file in the Name field.
-
From the File location area, choose the folder in which the .lib library file is stored (e.g., In project folder). If the library file is not in one of the default folders, choose Use path and complete steps a-b. Otherwise, skip to step 3.
Note:When In project folder is selected, references to the file in the design are relative to the directory where the project is saved (e.g., the path is saved in the project .adsn file as a variable: .lib '$PROJECTDIR/x_113854.lib'). The variable $PROJECTDIR is expanded to the current location of the project when the design is converted to a netlist and run by an analysis tool. Otherwise, an absolute path is saved. If a project and its library files are moved to a new directory together, select In project folder to preserve the file references.
Note:In syslib folder is reserved for libraries supplied with Electronics Desktop.
Click the [...] button to open an explorer window. Then navigate to and select the chosen .lib library file.
![]()
Click Open to return to the Library/Include Reference window. The path to the .lib file is displayed in the File Name field
Note: Directories accessed with Use Path are not exported if the design is moved to another computer, and will be inaccessible.
-
Ensure .LIB reference is chosen in the Reference type area (the default) to activate the Section field.
-
Enter a name in the Section (block) field.
-
Click OK to add the library file data to the design.
The procedure is complete.