Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20604) +++ trunk/doc/user/09_appendix/action_details.html (revision 20605) @@ -858,6 +858,16 @@

The specified layer becomes the currently active layer. It is made visible if it is not already visible +

setflag

+

+Turns the given flag on, regardless of its previous setting. See +changeflag +. +

+ +Example: SetFlag(SelectedPins,thermal)
+ +

setsame

When invoked over any line, arc, polygon, or via, this changes the current layer to be the layer that item is on, and changes the current sizes (thickness, clearance, etc) according to that item. Index: trunk/doc/user/09_appendix/action_src/setflag.html =================================================================== --- trunk/doc/user/09_appendix/action_src/setflag.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/setflag.html (revision 20605) @@ -0,0 +1,7 @@ +Turns the given flag on, regardless of its previous setting. See +ChangeFlag. +

+SetFlag(SelectedPins,thermal) + + + Index: trunk/src/change_act.c =================================================================== --- trunk/src/change_act.c (revision 20604) +++ trunk/src/change_act.c (revision 20605) @@ -699,20 +699,8 @@ "SetFlag(SelectedLines|SelectedPins|SelectedVias, flag)\n" "SetFlag(SelectedPads|SelectedTexts|SelectedNames, flag)\n" "SetFlag(SelectedElements, flag)\n" "flag = thermal | join"; - static const char pcb_acth_SetFlag[] = "Sets flags on objects."; - -/* %start-doc actions SetFlag - -Turns the given flag on, regardless of its previous setting. See -@code{ChangeFlag}. - -@example -SetFlag(SelectedPins,thermal) -@end example - -%end-doc */ - +/* DOC: setflag.html */ static fgw_error_t pcb_act_SetFlag(fgw_arg_t *res, int argc, fgw_arg_t *argv) { const char *function;