element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • 'Choose another store...'
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Chat (English) Rename a Library
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Autodesk EAGLE requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 135 subscribers
  • Views 979 views
  • Users 0 members are here
Related

Rename a Library

Former Member
Former Member over 12 years ago

I want to rename our library, but after renaming the .lbr file and

marking it for USE, all devices on schematics and boards still reference

the old library name, which does not exist (renamed).

Is there a way to edit/rename the library name stored in the schematics

and board files?

REPLACING all components from the new filename is extremely tedious and

prone to error.

 

  • Sign in to reply
  • Cancel
  • Richard_H
    Richard_H over 12 years ago

    Am 19.05.2011 08:23, schrieb Marvin Dawson:

    I want to rename our library, but after renaming the .lbr file and

    marking it for USE, all devices on schematics and boards still reference

    the old library name, which does not exist (renamed).

    Is there a way to edit/rename the library name stored in the schematics

    and board files?

    REPLACING all components from the new filename is extremely tedious and

    prone to error.

     

    As soon as you are ADDing a component to the schematic the whole library

    definition will be transferred into the schematic file, including the

    file name of the library. So you can work with the

    schematic and even create the board without having library files

    in the background.

    Changing the name of a library has no effect on schematic and board.

     

    For your purpose you could use the UPDATE command:

     

    UPDATE old_library_name = new_library_name;

     

    From the help of the update command:

    When used with old_library_name = new_library_name (note that there has

    to be at least one blank before and after the '=' character), the UPDATE

    command locates the library named old_library_name in the current board

    or schematic, and updates it with the contents of new_library_name. Note

    that old_library_name must be the pure library name, without any path,

    while new_library_name may be a full path name. If the update was

    performed successfully, the library in the current board/schematic file

    will also be renamed accordingly - therefore this whole operation is, of

    course, only possible if new_library_name has not yet been used in the

    current board or schematic.

     

    HTH

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

      CadSoft Support -- hotline@cadsoft.de

      FAQ: http://www.cadsoft.de/faq.htm

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Richard_H

    Richard Hammerl wrote:

    Am 19.05.2011 08:23, schrieb Marvin Dawson:

    >> I want to rename our library, but after renaming the .lbr file and

    >> marking it for USE, all devices on schematics and boards still reference

    >> the old library name, which does not exist (renamed).

    >> Is there a way to edit/rename the library name stored in the schematics

    >> and board files?

    >> REPLACING all components from the new filename is extremely tedious and

    >> prone to error.

     

    As soon as you are ADDing a component to the schematic the whole library

    definition will be transferred into the schematic file, including the

    file name of the library. So you can work with the

    schematic and even create the board without having library files

    in the background.

    Changing the name of a library has no effect on schematic and board.

     

    For your purpose you could use the UPDATE command:

     

    UPDATE old_library_name = new_library_name;

     

    From the help of the update command:

    When used with old_library_name = new_library_name (note that there has

    to be at least one blank before and after the '=' character), the UPDATE

    command locates the library named old_library_name in the current board

    or schematic, and updates it with the contents of new_library_name. Note

    that old_library_name must be the pure library name, without any path,

    while new_library_name may be a full path name. If the update was

    performed successfully, the library in the current board/schematic file

    will also be renamed accordingly - therefore this whole operation is, of

    course, only possible if new_library_name has not yet been used in the

    current board or schematic.

     

    HTH

     

    >

    THANKS>  The UPDATE old_library_name = new_library_name; works fine.

    I missed it when searching the Help file.  We had appended an @ sign to

    the beginning of our library name in order to move it to the top of the

    list for ease of use, but the @name.lbr caused problems with the normal

    UPDATE command.

    ~Marvin

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube