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

Scroll to Top
Scroll to Top
Read previous post:
Building a Touch-enabled Interface for Windows IoT
Building a Touch-enabled Interface for Windows IoT

Hardware components: Raspberry Pi 2 Model B × 1 Waveshare Raspberry Pi LCD Display Module 5inch 800*480 TFT × 1...

Close