Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20597) +++ trunk/doc/user/09_appendix/action_details.html (revision 20598) @@ -80,6 +80,10 @@

If the solder mask is currently showing, this action changes the solder mask cutout size. If the mask is not showing, this action changes the polygon clearance. +

changeflag

+

+Toggles the given flag on the indicated object(s). The flag may be one of the flags listed above (thermal, join). The value may be the number 0 or 1. If the value is 0, the flag is cleared. If the value is 1, the flag is set. +

changejoin

The join flag determines whether a line or arc, drawn to intersect a polygon, electrically connects to the polygon or not. When joined, the line/arc is simply drawn over the polygon, making an electrical connection. When not joined, a gap is drawn between the line and the polygon, insulating them from each other. Index: trunk/doc/user/09_appendix/action_src/changeflag.html =================================================================== --- trunk/doc/user/09_appendix/action_src/changeflag.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/changeflag.html (revision 20598) @@ -0,0 +1,4 @@ +Toggles the given flag on the indicated object(s). The flag may be +one of the flags listed above (thermal, join). The +value may be the number 0 or 1. If the value is 0, the flag is +cleared. If the value is 1, the flag is set. Index: trunk/src/change_act.c =================================================================== --- trunk/src/change_act.c (revision 20597) +++ trunk/src/change_act.c (revision 20598) @@ -151,18 +151,8 @@ "ChangeFlag(SelectedLines|SelectedPins|SelectedVias, flag, value)\n" "ChangeFlag(SelectedPads|SelectedTexts|SelectedNames, flag, value)\n" "ChangeFlag(SelectedElements, flag, value)\n" "flag = thermal | join\n" "value = 0 | 1"; - static const char pcb_acth_ChangeFlag[] = "Sets or clears flags on objects."; - -/* %start-doc actions ChangeFlag - -Toggles the given flag on the indicated object(s). The flag may be -one of the flags listed above (thermal, join). The -value may be the number 0 or 1. If the value is 0, the flag is -cleared. If the value is 1, the flag is set. - -%end-doc */ - +/* DOC: changeflag.html */ static fgw_error_t pcb_act_ChangeFlag(fgw_arg_t *res, int argc, fgw_arg_t *argv) { const char *function;