Eagle – How to export a device from a project

by luca

Sometimes you need to use a device – found in a project downloaded from Internet – in one of your projects; here’s how to do it in Eagle:
First, if you don’t already have a personal library, let’s create an empty one.
From Eagle’s main window, open File menu and choose New > Library:

The library editor will show, for now simply save the library just created: File, Save as…

Choose a name for your library and click Save:

Now open the Schematic (.sch) file with the device you want to export:

From File menu, click Run…; then choose exp-project-lbr.ulp and click Open:

Let the default options and click Collect data: the script will analyze the file and list – in the textarea – all the devices it will found (this step could last several seconds).

When the script ends, click Create library to start the real export process:

Sometimes Eagle asks wether to export also only mechanical packages, click No:

At the end of the process, in the same folder you saved the .sch file, you’ll find the new libraries created by script.

If you click on the triangle on the left of the name, you can show library’s content:

Now open your personal library and, with drag’n’drop, drag inside it the device you need, grabbing it from one of the new libraries:

The device (symbol + package) will be added to your library.

Related Posts


Jeremy Monday October 29th, 2012 - 05:12 PM

Thank you! This was very helpful.

Arduino Sunday February 21st, 2016 - 05:48 PM

Ottimo trucco, quante volte mi è capitato…


Leave a Comment

three × one =