<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 22 November 2015 at 08:21, Brian Willoughby <span dir="ltr"><<a href="mailto:brianw@audiobanshee.com" target="_blank">brianw@audiobanshee.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":3gw" class="" style="overflow:hidden">With status in the description, it's possible to note which projects have used a part. I just needed to change to larger SMD pads for a diode, and couldn't remember where it had been used.<br></div></blockquote></div><br>This gave me an idea, and it turns out that someone already wrote a Ruby gem for reading Eagle schematics files. I now have the beginnings of a little Ruby commandline tool "eaglegrep" that combines all the parts used in all specified schematics, and optionally searches on the part name:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">$ bundle exec exe/eaglegrep partsgrep BC..7 ~/Documents/eagle/jslee/cgs/*/*.sch<br></div><div class="gmail_extra">transistor-npn/BC547*/</div><div class="gmail_extra">transistor-pnp/BC557/</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">The description is there in the schematic file too but it requires more connecting of dots because each part references a device set and technology</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'll keep bashing at it and make this available on Github when it's a little more useful. I like the idea of running an audit tool across all of my projects at once, rather than interactively in Eagle, one at a time</div><div class="gmail_extra"><br></div><div class="gmail_extra">John</div></div></div>