Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

How to highlight all resistors of a certain value?

chipdesk
Enthusiast
Enthusiast

How to highlight all resistors of a certain value?

chipdesk
Enthusiast
Enthusiast

I am soldering a big circuit with many tiny resistors (almost all of them are 0402 in size). The circuit was too dense to put a proper silk screen in place. I'm afraid to make errors, for example soldering a 100k resistor on the spot where a 1k resistor should be.

 

While soldering, I look at the eagle *.brd file on my computer screen - so I know where to solder what. But I miss something... I would like to highlight all 100k resistors (or other values) at once. That would make my life soooo much easier now 🙂

 

I used the resistor as an example here, but it would be nice to do something similar for capacitors, ...

 

Please help me 🙂

0 Likes
Reply
Accepted solutions (1)
5,049 Views
14 Replies
Replies (14)

C.Nicks
Advisor
Advisor
Accepted solution

Hi Kristof,

There is a very helpful ulp that enables highlighting by value. Check out show-values.ulp

It has a couple files required. You should already have the useful-routines.ulp included from the default installation. If you need the ini file handler it is IniFile.ulp

 

This would be a very good native feature to have built into the show command, but for now this is really helpful to place on the user menu for quick access.

 

There is also another one that highlights by class called showclass.ulp

 

These also work in the schematic view.

Show Values.PNG

Best Regards,
Cameron


Eagle Library Resources


Kudos are much appreciated if the information I have shared is helpful to you and/or others.
Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

chipdesk
Enthusiast
Enthusiast

Hi C.Nicks,

 

Thank you so much! This ULP is awesome. I wish there was a button for it ... so I installed one (using this tutorial here: https://hackaday.io/project/19070-cadsoft-eagle-professional-use/log/50652-customize-eagle-custom-bu...)

 

This is how my Eagle looks now:

 

 

Eagle_screenshot.png

 

 

 

chipdesk
Enthusiast
Enthusiast

This is how I added the button:

 

1. Close EAGLE

 

2. Put the files show-values.ulp and IniFile.ulp in the folder C:\EAGLE 8.6.1\ulp

 

3. Put the icon search_components.png into the folder C:\EAGLE 8.6.1\bin

 

4. Open the file C:\EAGLE 8.6.0\scr\eagle.scr . You will see the following text:

 

BRD:

MENU   '[bin/designlink.png] Search and order : Run designlink-order.ulp -general;'\
      '[bin/pcb-service.png] PCB Service : Run pcb-service.ulp;'\

 

 Now add the line:

 

      '[bin/pcb-service.png] PCB Service : Run pcb-service.ulp;'\

 

Open Eagle and you should see the button!

0 Likes

one-of-the-robs
Advisor
Advisor

Hi Kristof,

 

Great idea to add that post with the detailed instructions! Unfortunately you seem to have made a typo (or a copy-paste error) and duplicated the existing "PCB Service" instead of adding your new button. Oops! Smiley Wink

 

chipdesk
Enthusiast
Enthusiast

Oops...

Thank you for pointing that out. How do I edit my post? I click on the "Options" button in the top right corner and I only see this:

Options_autodesk.png

 

 

 

 

 

I can see options like "Mark as New", "Bookmark", "Subscribe", ... but I don't see "Edit" anywhere 😞

0 Likes

rachaelATWH4
Mentor
Mentor

@chipdesk wrote:

Oops...

Thank you for pointing that out. How do I edit my post? I click on the "Options" button in the top right corner and I only see this:

I can see options like "Mark as New", "Bookmark", "Subscribe", ... but I don't see "Edit" anywhere 😞


Unfortunately there is a timeout beyond which you can no longer edit your own posts. Maybe @jorge_garcia would be able to ask one of the moderators to correct your post for you if you can supply the info for the change.

 

It might just be quicker to repost the correct info in a new post though....

 

Best Regards,


Rachael

0 Likes

jorge_garcia
Autodesk
Autodesk
Hi @chipdesk,

I hope you're doing well. Just go ahead and report the specific post you want to edit. Tell the moderator you would like to add something to the post and include the text you want to add. Just be very specific, they will usually sub it out for you, or re-enable editing and let you fix it yourself.

Let me know if there's anything else I can do for you.

Best Regards,


Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes

chipdesk
Enthusiast
Enthusiast

Hi @jorge_garcia

I would like to change the end of that post into:

 

----------------------------------------

Now add the line:

 

      '[bin/search_component.png] Search Component : Run show-values.ulp;'\

 

Open Eagle and you should see the button!

 

----------------------------------------

 

Thank you very much.

Anonymous
Not applicable

Hi. I don't get the show_values.ulp to work. It just displays an error message when I try to run the .ULP file inside eagle.

I have eagle v9.0.0
What to do?

0 Likes

one-of-the-robs
Advisor
Advisor

That error report is of a syntax error on the very first line of the file. This is usually a result of whatever browser you used corrupting the file. Quite often, it's a case of "oh, this is a Windows 10 box, therefore I'll helpfully change this plain text file to a UCS-2 with binary tag format", which breaks things in far more than just Eagle. The fix, in that case, is to load the file into a UCS-2 aware editor such as Notepad++ and re-save as ASCII (or UTF-8 if there are accented characters in it).

0 Likes

rachaelATWH4
Mentor
Mentor

Did you download the file from GitHub? If so did you find the file in the browser and right click and Save As? If so then you'll have downloaded the HTML page rather than the file.

 

A similar issue regarding using GitHub for other EAGLE files is highlighted by Jorge here: https://www.youtube.com/watch?v=lWvwxQnBWqE

 

Best Regards,

 

Rachael

ranickels
Observer
Observer

I found this old solution from 2018 but the github link for "show_values.ulp" is broken.


Can anyone re-upload this ULP or suggest an alternative way to highlight all components of a given value on a board?


Thanks, Bob

0 Likes

C.Nicks
Advisor
Advisor
Looks like the link was changed from BRD section to GLOBAL.
Here is the current location.
https://github.com/loneFunction/Library/blob/master/ULP/GLOBAL/show_values.ulp

Best Regards,
Cameron


Eagle Library Resources


Kudos are much appreciated if the information I have shared is helpful to you and/or others.
Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes

scottH36AU
Advocate
Advocate

Was this script ever updated for more modern versions of Eagle? It no longer works with 9.4.2. Throws a syntax error on line 128 of InFile.ulp

0 Likes