Hi!
I recently started using the module functionality in eagle to create hierarchical schematics. It saves a lot of time, especially in the long run. When I finalized my schematic and started to do the layout, I searched for a function or ULP to copy the layout of a module. Probably I missed it, but I didn't find anything. I didn't look that hard because I was interested in tackling that challenge
Here is what I did. First, you need to run the ULP in the schematic to extract some info needed for the copy. Here is what you see:
Once you are in a board, you start by doing the layout of a module, something like this:
You then launch the ULP in the board to copy the layout:
Once all the options are filled you simply click copy layout. It will copy the layout (relative position, rotation and mirror) at the specified offset. It will also group the target parts together. And here is the result:
I wanted to know if anyone is interested in this ULP? I have to do some work to remove some company specific code and put it somewhere public. If there is interest, I'll do this as soon as possible.
Thanks to everyone for this fantastic and helpful forum!