Difference between revisions of "EAGLE Tips"

From Hackstrich
(First little ULP snippet!)
 
m (Categorizing.)
Line 9: Line 9:
 
   exit(strScript);
 
   exit(strScript);
 
  }
 
  }
 +
 +
[[Category:Notes]]

Revision as of 03:07, 17 October 2010

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 + " ";
    }
  }
  exit(strScript);
}