7 Replies Latest reply on Sep 24, 2019 8:39 AM by Autodesk Guest

    replace library names in schematic

    gharryh1957

      Using exp-project-lbr.ulp will create alibrary from my project. But it doesnt replace the part directive in the schematic to the newly created libray.

       

      Is there a way to do that??

       

      Greetings

       

      Harry

        • Re: replace library names in schematic
          rachaelp

          Hi Harry,

           

          You haven't said what version of EAGLE you are using but in the more recent Autodesk versions, the exp-lbrs.ulp ULP which is called from File->Export...->Libraries gives an option to create a replace script. Once run the libraries in the board will be pointing a the exported libraries instead.

           

          Best Regards,

           

          Rachael

          1 of 1 people found this helpful
          • Re: replace library names in schematic
            Autodesk Guest

            Harry Herbert wrote:

             

            Using exp-project-lbr.ulp will create alibrary from my project. But it

            doesnt replace the part directive in the schematic to the newly

            created libray.

             

            Is there a way to do that??

             

            see "help update"

             

                 UPDATE old_library_name = new_library_name;

            --

             

            Lorenz

             

            1 of 1 people found this helpful
              • Re: replace library names in schematic
                gharryh1957

                But if my project contains parts from 10 different libraries, must I then execute this command ten times??

                  • Re: replace library names in schematic
                    Autodesk Guest

                    Harry Herbert wrote:

                     

                    But if my project contains parts from 10 different libraries, must I then execute this command ten times??

                     

                    yes

                     

                    it could be automated using an ULP though.

                    there might even be one around already.

                    --

                     

                    Lorenz

                     

                      • Re: replace library names in schematic
                        Autodesk Guest

                        Go here

                        http://eagle.autodesk.com/eagle/ulp

                        and search for

                        exp-lbrs-replace2.ulp

                        This does what you want.

                        In Bob Starr's words

                         

                        "I modified the export project ULP to allow exporting all parts into a

                        single project specific library. BUT, the magic part is that it also

                        generates a script you can run afterward to replace all parts in the

                        schematic so they reference the newly created project specific library.

                        I\'ve also updated the ULP so it now shows a list of all libraries used

                        in a schematic and it allows selecting which library parts to

                        export/replace. Now you can easily export and edit any of the parts in

                        any of your designs within a single project specific library on the fly!"

                         

                        HTH

                        Warren

                         

                        On 17/09/2019 5:42 PM, Lorenz wrote:

                        Harry Herbert wrote:

                         

                        But if my project contains parts from 10 different libraries, must I then execute this command ten times??

                         

                        yes

                         

                        it could be automated using an ULP though.

                        there might even be one around already.

                         

                         

                         

                        --

                        ... use NNTP://news.cadsoft.de and a functional news reader like

                        Thunderbird!

                         

                        ---

                        This email has been checked for viruses by Avast antivirus software.

                        https://www.avast.com/antivirus

                         

                         

                      • Re: replace library names in schematic
                        WarrenBrayshaw

                        Go here

                        http://eagle.autodesk.com/eagle/ulp

                        and search for

                        exp-lbrs-replace2.ulp

                        This does what you want.

                        In Bob Starr's words

                         

                        "I modified the export project ULP to allow exporting all parts into a single project specific library. BUT, the magic part is that it also generates a script you can run afterward to replace all parts in the schematic so they reference the newly created project specific library. I\'ve also updated the ULP so it now shows a list of all libraries used in a schematic and it allows selecting which library parts to export/replace. Now you can easily export and edit any of the parts in any of your designs within a single project specific library on the fly!"

                         

                        HTH

                        Warren