> I'd also be curious to know if there's any magic for getting the > replicas of the subcircuits numbered properly in PCB, although I > fully expect to generate the entire initial layout with a script > rather than using the GUI.
I've published pcb scripts that do block-copies before, for example my 16-channel powermeter board. The renumbering commands are in there too. Here's another copy, note that the renumbers are cumulative. LoadFrom(Layout,powermeter-blank.pcb) LoadFrom(LayoutToBuffer,channel1.pcb) # left upper, first one already there # First is at 200,0 PasteBuffer(ToLayout,0,30000) RenumberBuffer(0,10) PasteBuffer(ToLayout,0,80000) RenumberBuffer(0,10) PasteBuffer(ToLayout,0,130000) RenumberBuffer(0,10) PasteBuffer(ToLayout,0,180000) # Now skip 300 more for the next five RenumberBuffer(0,10) PasteBuffer(ToLayout,0,280000) RenumberBuffer(0,10) PasteBuffer(ToLayout,0,330000) RenumberBuffer(0,10) PasteBuffer(ToLayout,0,380000) RenumberBuffer(0,10) PasteBuffer(ToLayout,0,430000) # Other side pastebuffer(Rotate,2) RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,110000) RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,160000) RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,210000) RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,260000) # skip RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,360000) RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,410000) RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,460000) RenumberBuffer(0,10) PasteBuffer(ToLayout,290000,510000) djopt(splitlines) # Teardrops() LoadFrom(Netlist,djtest.net) SaveTo(LayoutAs,djtest.pcb) Quit() _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

