Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20660) +++ trunk/doc/user/09_appendix/action_details.html (revision 20661) @@ -977,7 +977,7 @@ will offset each part randomly up to 10mm away from the point. The default dispersion is 1/10th of the smallest board dimension. Dispersion is saved in the import::disperse - + attribute.

l

@@ -1520,6 +1520,28 @@ redo action allows you to recover from the last undo command. You might want to do this if you thought that undo was going to revert something other than what it actually did (in case you are confused about which operations are un-doable), or if you have been backing up through a long undo list and over-shoot your stopping point. Any change that is made since the undo in question will trim the redo list. For example if you add ten lines, then undo three of them you could use redo to put them back, but if you move a line on the board before performing the redo, you will lose the ability to "redo" the three "undone" lines. +

renumberblock

+

+ +Example: RenumberBlock(oldnum,newnum)
+ +

+ All selected elements are renumbered by adding (newnum-oldnum) to the existing number. +

+ +Example: RenumberBlock(100,200)
+ will change R213 to R313. + +

renumberbuffer

+

+ +Example: RenumberBuffer(oldnum,newnum)
+ +

+ Same as +renumberblock +, but the paste buffer is renumbered. +

report

Arguments: Index: trunk/doc/user/09_appendix/action_reference.html =================================================================== --- trunk/doc/user/09_appendix/action_reference.html (revision 20660) +++ trunk/doc/user/09_appendix/action_reference.html (revision 20661) @@ -12,7 +12,7 @@

Action Reference

@@ -173,7 +173,7 @@ - + @@ -212,7 +212,7 @@ - + @@ -224,8 +224,8 @@ - - + + Index: trunk/doc/user/09_appendix/action_src/renumberblock.html =================================================================== --- trunk/doc/user/09_appendix/action_src/renumberblock.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/renumberblock.html (revision 20661) @@ -0,0 +1,7 @@ +RenumberBlock(oldnum,newnum) +

+All selected elements are renumbered by adding (newnum-oldnum) to +the existing number. +

+RenumberBlock(100,200) will change R213 +to R313. Index: trunk/doc/user/09_appendix/action_src/renumberbuffer.html =================================================================== --- trunk/doc/user/09_appendix/action_src/renumberbuffer.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/renumberbuffer.html (revision 20661) @@ -0,0 +1,3 @@ +RenumberBuffer(oldnum,newnum) +

+Same as RenumberBlock, but the paste buffer is renumbered. Index: trunk/src_plugins/renumber/renumberblock.c =================================================================== --- trunk/src_plugins/renumber/renumberblock.c (revision 20660) +++ trunk/src_plugins/renumber/renumberblock.c (revision 20661) @@ -9,15 +9,6 @@ * * Original source: http://www.delorie.com/pcb/renumberblock.c * - * Usage: RenumberBlock(oldnum,newnum) - * - * All selected elements are renumbered by adding (newnum-oldnum) to - * the existing number. I.e. RenumberBlock(100,200) will change R213 - * to R313. - * - * Usage: RenumberBuffer(oldnum,newnum) - * - * Same, but the paste buffer is renumbered. */ #include @@ -36,7 +27,7 @@ const char pcb_acts_RenumberBlock[] = "RenumberBlock(old_base,new_base)\n"; const char pcb_acth_RenumberBlock[] = "TODO"; - +/* DOC: renumberblock.html */ fgw_error_t pcb_act_RenumberBlock(fgw_arg_t *res, int argc, fgw_arg_t *argv) { char num_buf[15]; @@ -81,7 +72,7 @@ const char pcb_acts_RenumberBuffer[] = "RenumberBlock(old_base,new_base)\n"; const char pcb_acth_RenumberBuffer[] = "TODO"; - +/* DOC: renumberbuffer.html */ fgw_error_t pcb_act_RenumberBuffer(fgw_arg_t *res, int argc, fgw_arg_t *argv) { char num_buf[15];

\n -This is pcb-rnd 2.0.0 (svn r18442) an interactive printed circuit board editor , Revision: 20654 +This is pcb-rnd 2.0.0 (svn r18442) an interactive printed circuit board editor , Revision: 20659
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
RemoveMenuRecursively removes a new menu, popup (only path specified) or submenu. RemoveMenu(path|cookie)
RemoveSelectedRemoves any selected objects.pcb_remove_selected()
RenumberRenumber all subcircuits. The changes will be recorded to filename
for use in backannotating these changes to the schematic.
Renumber()
Renumber(filename)
renumber plugin
RenumberBlockTODORenumberBlock(old_base,new_base)renumber plugin
RenumberBlockTODORenumberBlock(old_base,new_base)renumber plugin
RenumberBufferTODORenumberBlock(old_base,new_base)renumber plugin
ReplaceFootprintReplace the footprint of the selected components with the footprint specified.ReplaceFootprint()
ReportProduce various report.Report(Object|DrillReport|FoundPins|NetLength|NetLengthTo|AllNetLengths|[,name])report plugin
UnselectUnselects the object at the pointer location or the specified objects.Unselect(All|Block|Connection)
acompnetAttempt to auto-complete the current networkacompnet()acompnet plugin
alignAlign subcircuitsAlign(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])distalign plugin
aligntextAlign Text ElementsAlignText(X/Y, [Lefts/Rights/Tops/Bottoms/Centers, [First/Last/pcb_crosshair/Average[, Gridless]]])distaligntext plugin
aligntextAlign Text ElementsAlignText(X/Y, [Lefts/Rights/Tops/Bottoms/Centers, [First/Last/pcb_crosshair/Average[, Gridless]]])distaligntext plugin
asmInteractive assembly assistantasm()asm plugin
autocropAutocrops the board dimensions to (extants + a margin of 1 grid), keeping the move and board size grid alignedautocrop()autocrop plugin
awkExecute a script one-liner using a specific languageOneliner(lang, script)script plugin
d1debug action for developmentd1()diag plugin
dadManipulate Dynamic Attribute Dialogsdad(dlgname, new) - create new dialog
dad(dlgname, label, text) - append a label widget
dad(dlgname, button, text) - append a button widget
dad(dlgname, enum, choices) - append an enum (combo box) widget; choices is a tab separated list
dad(dlgname, bool, [label]) - append an checkbox widget (default off)
dad(dlgname, integer|real|coord, min, max, [label]) - append an input field
dad(dlgname, string) - append a single line text input field
dad(dlgname, progress) - append a progress bar (set to 0)
dad(dlgname, tree, cols, istree, [header]) - append tree-table widget; header is like enum values
dad(dlgname, tree_append, row, cells) - append after row (0 means last item of the root); cells is like enum values; returns a row pointer
dad(dlgname, tree_append_under, row, cells) - append at the end of the list under row (0 means last item of the root); cells is like enum values; returns a row pointer
dad(dlgname, tree_insert, row, cells) - insert before row (0 means first item of the root); cells is like enum values; returns a row pointer
dad(dlgname, begin_hbox) - begin horizontal box
dad(dlgname, begin_vbox) - begin vertical box
dad(dlgname, begin_hpane) - begin horizontal paned box
dad(dlgname, begin_vpane) - begin vertical paned box
dad(dlgname, begin_table, cols) - begin table layout box
dad(dlgname, begin_tabbed, tabnames) - begin a view with tabs; tabnames are like choices in an enum; must have as many children widgets as many names it has
dad(dlgname, end) - end the last begin
dad(dlgname, flags, flg1, flg2, ...) - change the flags of the last created widget
dad(dlgname, onchange, action) - set the action to be called on widget change
dad(dlgname, run, longname, shortname) - present dlgname as a non-modal dialog
dad(dlgname, run_modal, longname, shortname) - present dlgname as a modal dialog
dad(dlgname, exists) - returns wheter the named dialog exists (0 or 1)
dad(dlgname, set, widgetID, val) - changes the value of a widget in a running dialog
dad(dlgname, get, widgetID, [unit]) - return the current value of a widget
dialogs plugin
ddraftEnter 2d drafting CLI mode or execute commandddraft([command])ddraft plugin
distributeDistribute subcircuitsDistribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])distalign plugin
distributetextDistribute Text ElementsDistributeText(Y, [Lefts/Rights/Tops/Bottoms/Centers/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])distaligntext plugin
distributeDistribute subcircuitsDistribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])distalign plugin
distributetextDistribute Text ElementsDistributeText(Y, [Lefts/Rights/Tops/Bottoms/Centers/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])distaligntext plugin
djoptPerform various optimizations on the current board.djopt(debumpify|unjaggy|simple|vianudge|viatrim|orthopull)
djopt(auto) - all of the above
djopt(miter)
djopt
dlg_testtest the attribute dialogdlg_test()dialogs plugin
dumpconfPerform various operations on the configuration tree.dumpconf(native, [verbose], [prefix]) - dump the native (binary) config tree to stdout
dumpconf(lihata, role, [prefix]) - dump in-memory lihata representation of a config tree
diag plugin