EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.support.eng » How can I delete one device from one library?
How can I delete one device from one library? [message #170919] Mon, 10 July 2017 16:36 Go to next message
Sorina Vuletici
Messages: 3
Registered: July 2017
Junior Member
How can I delete one device from one library?

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/225365
Re: How can I delete one device from one library? [message #170920 is a reply to message #170919] Mon, 10 July 2017 18:16 Go to previous messageGo to next message
Chuck Huber
Messages: 600
Registered: October 2004
Senior Member
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/10/2017 12:36 PM, Sorina Vuletici
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:617031284.01499704615651.JavaMail.jive@e14-cr-vp-appj8-01.premierfarnell.net">
<pre wrap="">How can I delete one device from one library?

</pre>
</blockquote>
<br>
Good afternoon, Sorina,<br>
<br>
Open the library, and use the Remove command.<br>
<br>
HTH,<br>
    - Chuck<br>
</body>
</html>
Re: How can I delete one device from one library? [message #170922 is a reply to message #170920] Mon, 10 July 2017 20:59 Go to previous messageGo to next message
Sorina Vuletici
Messages: 3
Registered: July 2017
Junior Member
Thank you Chuck,

here is the problem: when I open the library, for exampel adafruit.lbr, I can choose between comands such as: (Open, Rename, Copy, Delete, Use, Update). so, if I choose delete I should removed entire adafruit.lbr but this is not what I want.
I want to remove from adafruit.lbr for exampel device 1N4004. If I instead right-click on 1N4004 I can choose between (Add to schematics and Copy to library). The last one is disabled. So, I dont have possibility to remove/delete one device in a library.
How can I solve this?
In my working library I have a lot of unwanted copies of different devices which I have used when I made my own devices. But now I need to clean up after me. I need to remove all copies and keep only those devices I made myself.

Regards,
Sorina

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/225325
Re: How can I delete one device from one library? [message #170923 is a reply to message #170922] Mon, 10 July 2017 21:20 Go to previous messageGo to next message
Rob Pearce
Messages: 480
Registered: September 2012
Senior Member
On 10/07/17 21:59, Sorina Vuletici wrote:
> Thank you Chuck,
>
> here is the problem: when I open the library, for exampel adafruit.lbr, I can choose between comands such as: (Open, Rename, Copy, Delete, Use, Update). so, if I choose delete I should removed entire adafruit.lbr but this is not what I want.
> I want to remove from adafruit.lbr for exampel device 1N4004. If I instead right-click on 1N4004 I can choose between (Add to schematics and Copy to library). The last one is disabled. So, I dont have possibility to remove/delete one device in a library.
> How can I solve this?

The fundamental problem is that you are NOT OPENING the library. Merely
expanding the tree on the control panel is not "opening". You need to
double click on adafruit.lbr to actually OPEN it in the library editor.

None of this is peculiar to Eagle; it's standard GUI behaviour.

Once you have the library editor open, you can use the Remove command to
delete individual devices, unused packages or symbols.

HTH,
Rob
Re: How can I delete one device from one library? [message #170925 is a reply to message #170923] Mon, 10 July 2017 23:06 Go to previous messageGo to next message
Sorina Vuletici
Messages: 3
Registered: July 2017
Junior Member
Great Rob!
It works. Thank you!
Do I have to remove every device and every package and every symbol one by one?
Think that one device follows with a lot of packages which means it will be a lot of work untill I remove all packages one by one.
Can I remove several packages together with the same comand?

Regards,
Sorina

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/225416
Re: How can I delete one device from one library? [message #170926 is a reply to message #170925] Tue, 11 July 2017 01:17 Go to previous message
warrenbrayshaw
Messages: 1761
Registered: January 2010
Location: New Zealand
Senior Member
Sorina Vuletici wrote on Tue, 11 July 2017 11:06
Great Rob!
It works. Thank you!
Do I have to remove every device and every package and every symbol one by one?
Think that one device follows with a lot of packages which means it will be a lot of work untill I remove all packages one by one.
Can I remove several packages together with the same comand?

Regards,
Sorina

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/225416



There are a few ULP that may be of use.
del-devices.ulp
del-empty-devices.ulp
del-pack-sym.ulp

Perhaps make a copy of you library first before trying.

For further safety:
Place the copy into a new folder away from your current eagle folders.
In Options > directories.. > Libraries add the path to this folder and place it at the front of the paths already there. In that way your library will be the first one located and any others with the same name in the later paths will not be used.

HTH
Warren
Previous Topic: How to Unlock components from the command line (or script).
Next Topic: Find drill by size on PCB
Goto Forum:
  


Current Time: Fri Jul 28 18:59:59 GMT 2017