Smashing text in eagles symbol editor

Smashing Text in Eagle’s Symbol Editor

By The MacroFab Team  |  January 6, 2016

By default Eagle does not allow you to change the font on symbols for parts. Here’s a quick ULP script that copies the pin names on the symbol and rewrites the names as plain text, enabling you to move the names and change the text properties to make them easier to read or customize based on your needs.

Symbols before and after running script.

Symbols before and after running script.

You can download the ULP from our Github EDALibrary repository. Remember that this ULP script should be run in the Schematic Editor, not the Board Editor.

By editing lines 24 to 32 in the script you can change the font and font size used.

sprintf(h, "Change Layer 97;\n");  
sprintf(h, "Change Font Vector;\n");  
sprintf(h, "Change Ratio 8;\n");  
sprintf(h, "Change Align center-left;\n");  
sprintf(h, "Change Size 0.04;\n");  

In the future I will make these options available via drop down or text inputs in a popup dialog box. If you change the name of the pin after smashing, the text does not update so the script will have to be run again.

Read about the USB Micro Connector update within Eagle now.

Related Topics
Adding External Libraries, DRCs or CAM Files to Eagle

This article will discuss the process of adding part libraries and DRC rule files to KiCad.

How to use the Part Attribute feature in Eagle

How to use Part Attribute in Eagle. Take advantage of the Part Attribute system in Eagle for easier labeling.

About MacroFab

MacroFab offers comprehensive manufacturing solutions, from your smallest prototyping orders to your largest production needs. Our factory network locations are strategically located across North America, ensuring that we have the flexibility to provide capacity when and where you need it most.

Experience the future of EMS manufacturing with our state-of-the-art technology platform and cutting-edge digital supply chain solutions. At MacroFab, we ensure that your electronics are produced faster, more efficiently, and with fewer logistic problems than ever before.

Take advantage of AI-enabled sourcing opportunities and employ expert teams who are connected through a user-friendly technology platform. Discover how streamlined electronics manufacturing can benefit your business by contacting us today.