lab11 / eagle

Custom scripts and libraries for Eagle PCB
62 stars 119 forks source link

Eagle Renumber Script changed device name #7

Closed adkinsjd closed 7 years ago

adkinsjd commented 7 years ago

When running the eagle renumber script it changed

device="0603_RES" -> device=0Ω603_RES" in the eagle source file. It clearly should not change the device name.

It seems to have happened on a part with a value of zero, and the suffix was not added to the value field in that line like it should have been. Perhaps the search and replace used to add the proper suffix to the value found the first zero in the line instead of finding value="0"?

adkinsjd commented 7 years ago

Fixed via b6dd697