Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20654) +++ trunk/doc/user/09_appendix/action_details.html (revision 20655) @@ -34,6 +34,50 @@ +

align

+

+ +Example: Align(X, [Lefts/Rights/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])
+ +

+ +Example: Align(Y, [Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])
+ +

+ Arguments: +

+ + + + + + + + + + + +
+ X or Y + +Select which axis will move, other is untouched. +
+ Lefts, Rights, Tops, Bottoms, Centers, Marks + + Pick alignment point within each subcircuit +
+ First, Last, pcb_crosshair, Average + + Alignment reference, First=Topmost/Leftmost, Last=Bottommost/Rightmost, Average or pcb_crosshair point +
+ Gridless + + Do not force results to align to prevailing grid. +
+ +

+ Defaults are Marks, First. +

atomic

This action allows making multiple-action bindings into an atomic operation that will be undone by a single Undo command. For example, to optimize rat lines, you'd delete the rats and re-add them. To group these into a single undo, you'd want the deletions and the additions to have the same undo serial number. So, you Index: trunk/doc/user/09_appendix/action_reference.html =================================================================== --- trunk/doc/user/09_appendix/action_reference.html (revision 20654) +++ trunk/doc/user/09_appendix/action_reference.html (revision 20655) @@ -12,7 +12,7 @@

Action Reference

@@ -122,7 +122,7 @@ - + @@ -211,7 +211,7 @@ - + Index: trunk/doc/user/09_appendix/action_src/align.html =================================================================== --- trunk/doc/user/09_appendix/action_src/align.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/align.html (revision 20655) @@ -0,0 +1,23 @@ +Align(X, [Lefts/Rights/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]]) +

+Align(Y, [Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]]) +

+Arguments: +

+

\n -This is pcb-rnd 2.0.0 (svn r18442) an interactive printed circuit board editor , Revision: 20642 +This is pcb-rnd 2.0.0 (svn r18442) an interactive printed circuit board editor , Revision: 20654
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
LoadTedaxFromLoads the specified block from a tedax file. Type can be: netlist or footprint.LoadTedaxFrom(netlist|footprint, filename)tEDAx IO
LoadTinycadFromLoads the specified tinycad .net file - the netlist must be tinycad netlist output.LoadTinycadFrom(filename)tinycad importer
LoadTtfGlyphsLoads glyphs from an outline ttf in the specified source range, optionally remapping them to dstchars range in the pcb-rnd fontLoadTtfGlyphs(filename, srcglyps, [dstchars])ttf importer
LoadVendorFromLoads the specified vendor lihata file.LoadVendorFrom(filename)vendor drill mapping
LoadVendorFromLoads the specified vendor lihata file.LoadVendorFrom(filename)vendor drill mapping
LoadhypFromLoads the specified Hyperlynx file.LoadhypFrom(filename[, "debug"]...)hyp importer
ManagePluginsManage plugins dialog.ManagePlugins()
MarkCrosshairSet/Reset the pcb_crosshair mark.MarkCrosshair()
MarkCrosshair(Center)
UnloadVendorUnloads the current vendor drill mapping table.UnloadVendor()vendor drill mapping
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
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
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
+
X or Y + Select which axis will move, other is untouched. + +
Lefts, Rights, Tops, Bottoms, Centers, Marks + Pick alignment point within each subcircuit + +
First, Last, pcb_crosshair, Average + Alignment reference, First=Topmost/Leftmost, Last=Bottommost/Rightmost, Average or pcb_crosshair point + +
Gridless + Do not force results to align to prevailing grid. + +
+

+Defaults are Marks, First. + Index: trunk/src_plugins/distalign/distalign.c =================================================================== --- trunk/src_plugins/distalign/distalign.c (revision 20654) +++ trunk/src_plugins/distalign/distalign.c (revision 20655) @@ -235,23 +235,8 @@ return q; } -/* - * Align(X, [Lefts/Rights/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]]) - * Align(Y, [Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]]) - * - * X or Y - Select which axis will move, other is untouched. - * Lefts, Rights, - * Tops, Bottoms, - * Centers, Marks - Pick alignment point within each subcircuit - * First, Last, - * pcb_crosshair, - * Average - Alignment reference, First=Topmost/Leftmost, - * Last=Bottommost/Rightmost, Average or pcb_crosshair point - * Gridless - Do not force results to align to prevailing grid. - * - * Defaults are Marks, First. - */ static const char pcb_acts_align[] = "Align(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])"; +/* DOC: align.html */ static fgw_error_t pcb_act_align(fgw_arg_t *res, int argc, fgw_arg_t *argv) { const char *a0, *a1, *a2, *a3;