Index: action_details.html =================================================================== --- action_details.html (revision 31613) +++ action_details.html (revision 31614) @@ -1533,6 +1533,36 @@ Prompts the user for a coordinate, if one is not already selected. +

GfxMod

+
+

+ +
Syntax summary: +GfxMod(transparent, [idpath, [#rrggbb]]) +GfxMod(transparent, [idpath, [x, y]]) +GfxMod(resize, [idpath, [pdx, pdy1, len]]) +
Help text: +Modify a gfx object: set transparent pixel on the pixmap or resize by measurement +
Registered by:n/a +
+

+Commands: +

+ +
+

Import

@@ -1846,7 +1876,7 @@

Syntax summary: -pcb_load_footprint(filename[,refdes,value]) +LoadFootprint(filename[,refdes,value])
Help text: Loads a single footprint by name.
Registered by:n/a Index: action_reference.html =================================================================== --- action_reference.html (revision 31613) +++ action_reference.html (revision 31614) @@ -13,7 +13,7 @@ @@ -158,7 +158,7 @@ - + Index: action_src/gfxmod.html =================================================================== --- action_src/gfxmod.html (nonexistent) +++ action_src/gfxmod.html (revision 31614) @@ -0,0 +1,8 @@ +Commands: +
    +
  • transparent, no more args: interactive way for the user to specify the transparent color by a click +
  • transparent, idpath, #rrggbb: specify transparent color +
  • transparent, idpath, px, py: specify transparent color by pixel coordinates within the pixmap +
  • resize, no more args: interactive resizer where the user clicks on two points of the pixmap on screen and specifies the real disatnce between them and the code resizes the pixmap to match that +
  • resize, idpath, pdx, pdy, len: resize pixmap so that pixel distance pdx;pdy will match len coord units +
-This is pcb-rnd 2.2.1 (svn r31539) an interactive printed circuit board editor , Revision: 31612 +This is pcb-rnd 2.2.1 (svn r31539) an interactive printed circuit board editor , Revision: 31613
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
GetStyleReturn integer index (>=0) of the currently active style or -1 if no style is selected (== custom style)GetStyle()
GetValueConvert a coordinate value. Returns an unitless double or FGW_ERR_ARG_CONV. The 3rd parameter controls whether to require relative coordinates (+- prefix). Wraps rnd_get_value_ex().GetValue(input, units, relative, default_unit)act_read
GetXYGet a coordinate. If x or y specified, the return value of the action is the x or y coordinate.GetXY([message, [x|y]])
GfxModModify a gfx object: set transparent pixel on the pixmap or resize by measurementGfxMod(transparent, [idpath, [#rrggbb]])
GfxMod(transparent, [idpath, [x, y]])
GfxMod(resize, [idpath, [pdx, pdy1, len]])
GfxModModify a gfx object: set transparent pixel on the pixmap or resize by measurementGfxMod(transparent, [idpath, [#rrggbb]])
GfxMod(transparent, [idpath, [x, y]])
GfxMod(resize, [idpath, [pdx, pdy1, len]])
GlobalPullerPull all traces tight. With no argument it runs on the current layer.pcb_act_GlobalPuller([Found|Selected])puller plugin
GridSet the grid.grid(set, [name:]size[@offs][!unit])
grid(+|up)
grid(-|down)
grid(#N)
grid(idx, N)
GroupPropGuiChange group flags and propertiesGroupPropGui(groupid)dialogs plugin