rename internal library name

Making your own components and patterns, organizing and using libraries.
Post Reply
Message
Author
DrOldies
Posts: 18
Joined: 03 Feb 2014, 19:55

rename internal library name

#1 Post by DrOldies » 06 Dec 2021, 16:54

I have 2 libraries on my 2 PCs that have different file names by the same internal name "myLibrary" displayed by DT. I don't see an option to change the displayed name.

I wanted to merge these but from the comments here it's very time consuming and can lead to duplicates or missed entries.

Tomg
Expert
Posts: 1944
Joined: 20 Jun 2015, 14:39

Re: rename internal library name

#2 Post by Tomg » 06 Dec 2021, 23:06

First, create backups for your libraries.
...I don't see an option to change the displayed name...
While in the Pattern or Component editor select/highlight the desired library. In the main menu click on "Library" and choose "Name and Hint of (library name) Library..." to bring up the "Library Name and Hint" dialog window. Make the changes you need and resave the library.
...I wanted to merge these but from the comments here it's very time consuming and can lead to duplicates or missed entries...
It can be time-consuming, but not impossible. The contents of one library can easily be imported/copied into another (use the "Insert Components from Another Library" tool). Once imported sort the components (use the "Sort Components..." tool), scroll through the library's components list and select/highlight all of the duplicate library names and delete them (use the hotkey combination [Ctrl] + [Delete]). Run the "Check (library name) Library..." tool to look for missed duplicates. If everything looks OK resave the library.
Tom

rafaelroob
Posts: 1
Joined: 14 Mar 2023, 04:11

Re: rename internal library name

#3 Post by rafaelroob » 14 Mar 2023, 04:12

Although time-consuming, it is certainly achievable. It is simple to copy and paste the contents of one library into another (use the "Insert Components from Another Library" tool). After the import is complete, you should sort the components (using the "Sort Components..." tool), go through the library's list of components, and delete any duplicate library names by selecting them and using the Delete key on your keyboard. To check for unnoticed copies, use the "Check (library name) Library..." utility. If the library is in good shape, save it again.

Post Reply