Exploring Eagle CAD ULPs #1 – PickUp.ULP Select Components Both in Schematic And Layout

Welcome to the first post of the “Exploring Eagle CAD ULPs” series. Every week we will publish a new post about one useful ULPs in Eagle CAD.
“ULP” User Language Program is a plain text file which is written in a C­-like syntax and can be used to access the EAGLE data structures and to create a wide variety of output files, you can consider it like a plug-in for Eagle.

When we work on schematic design, we always add parts here and there, adding a missed capacitor for a power pin of a regulator or a missed resistor for a data line and so on.
When we will generate the board file to start routing, we will find the parts scattered in the board.

The first rule in placing and routing in PCBs is to place connected components near to each other, but in the raw board file you will find every component located in a different place according to the order of adding them in the schematic.

Exploring Eagle CAD ULPs #1 – PickUp.ULP Select Components Both in Schematic And Layout

This becomes very annoying in big designs. You need to gather the connected components manually, you will using MOVE tool for that. For example, to gather the components C9, C11, Y1 and R1 of a crystal connected to the MCU, you should run the following commands in the layout editor:

MOVE C9;
MOVE C11;
MOVE Y1;
MOVE R1;

Some MCUs have up to 50 capacitors and resistors or more connected to them, so obviously gathering components manually is not the way.

Personally I was doing the gathering process manually until the day I told myself, SHOW tool can highlight the component or components (by selecting them using ctrl+SHOW tool) both in schematic and PCB editor, you should find a similar way.

Read more: Exploring Eagle CAD ULPs #1 – PickUp.ULP Select Components Both in Schematic And Layout


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top