Difference between revisions of "EAGLE Tips"

From Hackstrich
(First little ULP snippet!)
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Check for any nets named starting with N$ (default useless name) and highlight them.
+
== Check for Unnamed Nets ==
  schematic(S) {
+
Check for any nets named starting with N$ (default useless name), highlight them, and draw a box around them to make small ones easy to find.
  string strScript = "SHOW ";
+
  SHOW @ N$*
  S.nets(N) {
+
 
    if(strstr(N.name, "N$") > -1) {
+
[[Category:Notes]]
      strScript += N.name + " ";
 
    }
 
  }
 
  exit(strScript);
 
}
 

Latest revision as of 13:55, 17 October 2010

Check for Unnamed Nets

Check for any nets named starting with N$ (default useless name), highlight them, and draw a box around them to make small ones easy to find.

SHOW @ N$*