EAGLE Tips
From Hackstrich
Revision as of 13:54, 17 October 2010 by SarahEmm (talk | contribs) (EAGLE ULP Snippets moved to EAGLE Tips: Making the page more useful/generic.)
Check for Unnamed Nets
Check for any nets named starting with N$ (default useless name) and highlight them.
schematic(S) { string strScript = "SHOW @ "; S.nets(N) { if(strstr(N.name, "N$") > -1) { strScript += N.name + " "; } } if(strScript == "SHOW @ ") { dlgMessageBox("All nets are named.", "OK"); exit(0); } else { exit(strScript); } }