From: Ben Gamari <bgamari@gm...> - 2013-07-23 18:17:37
This script can be found in https://github.com/bgamari/pcb-sedrename
You received this bug notification because you are a member of PCB Bug
Team, which is subscribed to pcb.
Bulk rename of components
Status in PCB: Printed Circuit Board CAD package:
Often while composing boards with many repeated functional blocks
(with components named hierachically for convenience), I'll delete the
components of all but one of the blocks, layout the remaining block,
and copy this block. This is quite easy as Select By Name support
Unfortunately, after copying the block I still need to rename the
copied components. While for small blocks I'll often do this by hand,
for larger blocks I tend to save only the block to a layout, rename
the components with a regular expression in a text editor, and import
the modified design. I repeat this as many times as necessary. While
this works, it's quite ugly and very inefficient.
However, this task could be very straightforward if pcb had the
ability to run a regular expression substitution on the names of a
selection of components. This way you could select a functional block,
run "s/stepper1/stepper2/" and move on with life. A simple solution to
a simple problem.
To manage notifications about this bug go to:
Get latest updates about Open Source Projects, Conferences and News.