## Pcb-rnd Action Reference

This is pcb-rnd 2.0.0 (svn r17732), an interactive printed circuit board editor
Action | Description | Syntax
--- | --- | ---
Cursor | Move the cursor. | Cursor(Type,DeltaUp,DeltaRight,Units)
ChkLayer | Returns 1 if the specified layer is the active layer | ChkLayer(layerid)
aligntext | Align Text Elements | AlignText(X/Y, [Lefts/Rights/Tops/Bottoms/Centers, [First/Last/pcb_crosshair/Average[, Gridless]]])
Attributes | Let the user edit the attributes of the layout, current or given layer, or selected subcircuit. | Attributes(Layout|Layer|Element|Subc) Attributes(Layer,layername)
Cursor | Move the cursor. | Cursor(Type,DeltaUp,DeltaRight,Units)
PrintCalibrate | Calibrate the printer. | PrintCalibrate()
ChangePaste
PolyCombine
ruby | Execute a script one-liner using a specific language | Oneliner(lang, script)
forcecolor | change selected objects' color to #RRGGBB, reset if does not start with '#' | forcecolor(#RRGGBB)
LoadIpc356From | Loads the specified IPC356-D netlist | LoadIpc356From(filename, [nonet], [nopad], [nosubc])
ToggleView | Toggle the visibility of the specified layer or layer group. | ToggleView(1..MAXLAYER) ToggleView(layername) ToggleView(Silk|Rats|Pins|Vias|BackSide) ToggleView(All, Open|Vis, Set|Clear|Toggle)
LoadTedaxFrom | Loads the specified block from a tedax file. Type can be: netlist or footprint. | LoadTedaxFrom(netlist|footprint, filename)
EditLayer | Change a property or attribute of a layer. If the first argument starts with @, it is taken as the layer name to manipulate, else the action uses the current layer. Without arguments or if only a layer name is specified, interactive runs editing. | Editlayer([@layer], [name=text|auto=[0|1]|sub=[0|1])] Editlayer([@layer], attrib, key=value)
CreateMenu | Creates a new menu, popup (only path specified) or submenu (at least path and action are specified) | CreateMenu(path) CreateMenu(path, action, mnemonic, accel, tooltip, cookie)
Message | Writes a message to the log window. | message(message)
LoadHpglFrom | Loads the specified hpgl plot file to the current buffer | LoadHpglFrom(filename)
PrintUsage | Print command line arguments of pcb-rnd or a plugin loaded. | PrintUsage() PrintUsage(plugin)
LoadFpcbnlFrom | Loads the specified freepcb netlist. | LoadFpcbnlFrom(filename)
python | Execute a script one-liner using a specific language | Oneliner(lang, script)
stroke | Various gesture recognition related functions | stroke(gesture, seq)
PasteBuffer | Various operations on the paste buffer. | PasteBuffer(AddSelected|Clear|1..PCB_MAX_BUFFER) PasteBuffer(Rotate, 1..3) PasteBuffer(Convert|Restore|Mirror) PasteBuffer(ToLayout, X, Y, units) PasteBuffer(ToLayout, crosshair) PasteBuffer(Save, Filename, [format], [force]) PasteBuffer(Push) PasteBuffer(Pop)
LoadhypFrom | Loads the specified Hyperlynx file. | LoadhypFrom(filename[, "debug"]...)
RenumberBlock | TODO | RenumberBlock(old_base,new_base)
ExpFeatTmp | Experimental Feature Template. | ExpFeatTmp(...)
ToggleHideName

conf

Perform various operations on the configuration tree.

conf(set, path, value, [role], [policy]) - change a config setting to an absolute value
conf(delta, path, value, [role], [policy]) - change a config setting by a delta value (numerics-only)
conf(toggle, path, [role]) - invert boolean value of a flag; if no role given, overwrite the highest prio config
conf(reset, role) - reset the in-memory lihata of a role
conf(iseq, path, value) - returns whether the value of a conf item matches value (for menu checked's)

ReplaceFootprint | Replace the footprint of the selected components with the footprint specified. | ReplaceFootprint()
python | Execute a script one-liner using a specific language | Oneliner(lang, script)
DumpCsect | Print the cross-section of the board (layer stack) | DumpCsect()
stroke | Various gesture recognition related functions | stroke(gesture, seq)
ChangeFlag | Sets or clears flags on objects. | ChangeFlag(Object|Selected|SelectedObjects, flag, value) ChangeFlag(SelectedLines|SelectedPins|SelectedVias, flag, value) ChangeFlag(SelectedPads|SelectedTexts|SelectedNames, flag, value) ChangeFlag(SelectedElements, flag, value) flag = thermal | join value = 0 | 1
Redo | Redo recent "undo" operations. | redo()
SavePatch | Save netlist patch for back annotation. | SavePatch(filename)
ChangeAngle | Changes the start angle, delta angle or both angles of an arc. | ChangeAngle(Object, start|delta|both, delta) ChangeAngle(SelectedObjects|Selected, start|delta|both, delta) ChangeAngle(SelectedArcs, start|delta|both, delta)
DumpLibrary | Display the entire contents of the libraries. | DumpLibrary()
GetXY | Get a coordinate. | GetXY()
FreeRotateBuffer | Rotates the current paste buffer contents by the specified angle. The angle is given in degrees. If no angle is given, the user is prompted for one. | FreeRotateBuffer([Angle])
subc | Various operations on subc | subc(hash, [board|selected]) subc(loose, on|off|toggle|check)
BoardFlip | Mirror the board over the x axis, optionally mirroring sides as well. | BoardFlip([sides])
dumpdata | Dump an aspect of the data | dumpdata()
propedit | Run the property editor | propedit()
LoadLtspiceFrom | Loads the specified ltspice .net and .asc file - the netlist must be mentor netlist. | LoadLtspiceFrom(filename)
SetSquare
Brave | Changes brave settings. | Brave() Brave(setting, on|off)
MarkCrosshair | Set/Reset the pcb_crosshair mark. | MarkCrosshair() MarkCrosshair(Center)
DumpActions | Dump all actions available. | DumpActions()
RouteStylesChanged | Tells the GUI that the routing styles have changed. | RouteStylesChanged()
GlobalPuller | Pull all traces tight. | pcb_act_GlobalPuller([Found|Selected])
Renumber | Renumber all subcircuits. The changes will be recorded to filename for use in backannotating these changes to the schematic. | Renumber() Renumber(filename)
dlg_test | test the attribute dialog | dlg_test()
OptAutoOnly | Toggles the optimize-only-autorouted flag. | OptAutoOnly()
distribute | Distribute subcircuits | Distribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])
query | Perform various queries on PCB data. | query(dump, expr) - dry run: compile and dump an expression
Delete | Delete stuff. | Delete(Object|Selected) Delete(AllRats|SelectedRats)
Bell | Attempt to produce audible notification (e.g. beep the speaker). | Bell()
skretriangulate | Reconstruct CDT on all layer groups | skretriangulate()
trim | Use one or more objects as cutting edge and trim or split other objects. First argument is the cutting edge | trim([selected|found|object], [selected|found|object]) split([selected|found|object], [selected|found|object])
Undo | Undo recent changes. | undo() undo(ClearList)
PCBChanged | Tells the GUI that the whole PCB has changed. The optional "revert"parameter can be used as a hint to the GUI that the same design is beingreloaded, and that it might keep some viewport settings | PCBChanged([revert])
Debug | Debug action. | Debug(...)
h | Print a help message for commands. | h
LayerBinding | Change the layer binding. | LayerBinding(object) LayerBinding(selected) LayerBinding(buffer)
m | Loads a layout into the current buffer. | m [name]
circle | Generate a filled circle (zero length round cap line) | circle([where,] diameter)
l | Loads layout data. | l [name] [format]
Delete | Delete stuff. | Delete(Object|Selected) Delete(AllRats|SelectedRats)
q | Quits the application after confirming. | q
SetValue | Change various board-wide values and sizes. | SetValue(Grid|Line|LineSize|Text|TextScale, delta)
s | Saves layout data. | s [name] w [name]
Message | Writes a message to the log window. | message(message)
w | Saves layout data. | s [name] w [name]
MoveObject | Moves the object under the crosshair. | pcb_move_obj(X,Y,[units])
SetUnits | Set the default measurement units. | SetUnits(mm|mil)
LoadLtspiceFrom | Loads the specified ltspice .net and .asc file - the netlist must be mentor netlist. | LoadLtspiceFrom(filename)
PadstackPlace | Place a pad stack (either proto_id, or if not specified, the default for style) | PadstackPlace([proto_id|default], [x, y])
SetSame | Sets current layer and sizes to match indicated item. | SetSame()
PrintActions | Print all actions available. | PrintActions()
dumplayers | Print info about each layer | dumplayers([all])
LibraryChanged | Tells the GUI that the libraries have changed. | LibraryChanged()
dumpfonts | Print info about fonts | dumpfonts()
circle | Generate a filled circle (zero length round cap line) | circle([where,] diameter)
autocrop | Autocrops the board dimensions to (extants + a margin of 1 grid), keeping the move and board size grid aligned | autocrop()
ChangePinName | Sets the name of a specific pin on a specific subcircuit. | ChangePinName(Refdes,PinNumber,PinName)
ChkGridSize | Return 1 if the currently selected grid matches the expected_size. If argument is "none" return 1 if there is no grid. | ChkGridSize(expected_size) ChkGridSize(none)
LoadTinycadFrom | Loads the specified tinycad .net file - the netlist must be tinycad netlist output. | LoadTinycadFrom(filename)
Return | Simulate a passing or failing action. | Return(0|1)
Normalize | Move all objects within the drawing area, align the drawing to 0;0 | Normalize()
ReportObject | Report on the object under the crosshair | ReportObject()
skretriangulate | Reconstruct CDT on all layer groups | skretriangulate()
ChangeClearSize | Changes the clearance size of objects. | ChangeClearSize(Object, delta|style) ChangeClearSize(SelectedPins|SelectedPads|SelectedVias, delta|style) ChangeClearSize(SelectedLines|SelectedArcs, delta|style) ChangeClearSize(Selected|SelectedObjects, delta|style)
ChkView | Return 1 if layerid is visible. | ChkView(layerid)
LoadVendorFrom | Loads the specified vendor lihata file. | LoadVendorFrom(filename)
LoadMentorFrom | Loads the specified Mentor Graphics Design Capture schematics flat .edf file. | LoadMentorFrom(filename)
ChkSubcID | Return 1 if currently shown subc ID matches the requested pattern | ChkSubcID(pattern)
dumpconf | Perform 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
Return | Simulate a passing or failing action. | Return(0|1)
ChangeSize | Changes the size of objects. | ChangeSize(Object, delta|style) ChangeSize(SelectedObjects|Selected, delta|style) ChangeSize(SelectedLines|SelectedPins|SelectedVias, delta|style) ChangeSize(SelectedPads|SelectedTexts|SelectedNames, delta|style) ChangeSize(SelectedElements, delta|style)
ListScripts | List a fungw script | ListScripts([pat])
ToggleVendor | Toggles the state of automatic drill size mapping. | ToggleVendor()
rehash | Reload all gpmi scripts | TODO
FlagEdit | Change the layer binding. | FlagEdit(object)
About | Present the about box | About()
MinMaskGap
Flip | Flip a subcircuit to the opposite side of the board. | Flip(Object|Selected)
rehash | Reload all gpmi scripts | TODO
ExecCommand | Run shell command | System(shell_cmd)
LoadTinycadFrom | Loads the specified tinycad .net file - the netlist must be tinycad netlist output. | LoadTinycadFrom(filename)
EditGroup | Change a property or attribute of a layer group. If the first argument starts with @, it is taken as the group name to manipulate, else the action uses the current layer's group. Without arguments or if only a layer name is specified, interactive runs editing. | Editgroup([@group], [name=text|type=+bit|type=-bit])] Editlayer([@layer], attrib, key=value)
PrintCalibrate | Calibrate the printer. | PrintCalibrate()
ChangeRadius | Changes the width or height (radius) of an arc. | ChangeRadius(Object, width|x|height|y|both, delta) ChangeRadius(SelectedObjects|Selected, width|x|height|y|both, delta) ChangeRadius(SelectedArcs, width|x|height|y|both, delta)
AutoPlaceSelected | Auto-place selected components. | AutoPlaceSelected()
ChangeClearSize | Changes the clearance size of objects. | ChangeClearSize(Object, delta|style) ChangeClearSize(SelectedPins|SelectedPads|SelectedVias, delta|style) ChangeClearSize(SelectedLines|SelectedArcs, delta|style) ChangeClearSize(Selected|SelectedObjects, delta|style)
fp_rehash | Flush the library index; rescan all library search paths and rebuild the library index. Useful if there are changes in the library during a pcb-rnd session. | fp_rehash()
EnableVendor | Enables automatic drill size mapping. | EnableVendor()
LoadIpc356From | Loads the specified IPC356-D netlist | LoadIpc356From(filename, [nonet], [nopad], [nosubc])
SetOctagon
Quit | Quits the application after confirming. | Quit()
DelGroup | Remove a layer group; if the first argument is not specified, the current group is removed | DelGroup([@group])
LoadDsnFrom | Loads the specified routed dsn file. | LoadDsnFrom(filename)
MinClearGap | Ensures that polygons are a minimum distance from objects. | MinClearGap(delta) MinClearGap(Selected, delta)
SetSame | Sets current layer and sizes to match indicated item. | SetSame()
DisableVendor | Disables automatic drill size mapping. | DisableVendor()
LoadFpcbnlFrom | Loads the specified freepcb netlist. | LoadFpcbnlFrom(filename)
LoadFontFrom | Load PCB font from a file | LoadFontFrom([file, id])
dumpundo | Print info about fonts | dumpfonts()
LoadMucsFrom | Loads the specified mucs routing file. | LoadMucsFrom(filename)
ChangeHole
ChangeDrillSize | Changes the drilling hole size of objects. | ChangeDrillSize(Object, delta|style) ChangeDrillSize(SelectedPins|SelectedVias|Selected|SelectedObjects, delta|style)
ChkView | Return 1 if layerid is visible. | ChkView(layerid)
FontSave | Convert the current PCB back to a font. | FontSave()
ruby | Execute a script one-liner using a specific language | Oneliner(lang, script)
DeleteRats | Delete rat lines. | DeleteRats(AllRats|Selected|SelectedRats)
split | Use one or more objects as cutting edge and trim or split other objects. First argument is the cutting edge | trim([selected|found|object], [selected|found|object]) split([selected|found|object], [selected|found|object])
PadstackEdit | interactive pad stack editor | PadstackEdit(object, [tab])
GetXY | Get a coordinate. | GetXY()
javascript | Execute a script one-liner using a specific language | Oneliner(lang, script)
LoadFrom | Load layout data from a file. | LoadFrom(Layout|LayoutToBuffer|SubcToBuffer|Netlist|Revert,filename[,format])
d1 | debug action for development | d1()
PadstackBreakup | Break up a padstack into one non-padstack object per layer type (the hole is ignored) | PadstackBreakup(buffer|selected|objet)
PadstackConvert | Convert selection or current buffer to padstack | PadstackConvert(buffer|selected, [originx, originy])
ChkGridUnits | Return 1 if currently selected grid unit matches the expected (normally mm or mil) | ChkGridUnits(expected)
Oneliner | Execute a script one-liner using a specific language | Oneliner(lang, script)
SaveFontTo | Save PCB font to a file | SaveFontTo([file, id])
GetStyle | Return integer index (>=0) of the currently active style or -1 if no style is selected (== custom style) | GetStyle()

conf

Perform various operations on the configuration tree.

conf(set, path, value, [role], [policy]) - change a config setting to an absolute value
conf(delta, path, value, [role], [policy]) - change a config setting by a delta value (numerics-only)
conf(toggle, path, [role]) - invert boolean value of a flag; if no role given, overwrite the highest prio config
conf(reset, role) - reset the in-memory lihata of a role
conf(iseq, path, value) - returns whether the value of a conf item matches value (for menu checked's)

Brave | Changes brave settings. | Brave() Brave(setting, on|off)
AutoRoute | Auto-route some or all rat lines. | AutoRoute(AllRats|SelectedRats)
ExportGUI | Open the export dialog. | ExportGUI()
RouteStyle | Copies the indicated routing style into the current pen. | RouteStyle(style_id|style_name)
Attributes | Let the user edit the attributes of the layout, current or given layer, or selected subcircuit. | Attributes(Layout|Layer|Element|Subc) Attributes(Layer,layername)
q! | Quits the application without confirming. | q!
ChangeDrillSize | Changes the drilling hole size of objects. | ChangeDrillSize(Object, delta|style) ChangeDrillSize(SelectedPins|SelectedVias|Selected|SelectedObjects, delta|style)
acompnet | Attempt to auto-complete the current network | acompnet()
DumpPluginDirs | Print plugins directories in a format digestable by scripts. | DumpPluginDirs()
ReplaceFootprint | Replace the footprint of the selected components with the footprint specified. | ReplaceFootprint()
ElementSetAttr | Sets or clears an element-specific attribute. | ElementSetAttr(refdes,name[,value])
LoadFootprint | Loads a single footprint by name. | pcb_load_footprint(filename[,refdes,value])
Connection | Searches connections of the object at the cursor position. | Connection(Find|ResetLinesAndPolygons|ResetPinsAndVias|Reset)
smartdisperse | TODO | SmartDisperse([All|Selected])
subc | Various operations on subc | subc(hash, [board|selected]) subc(loose, on|off|toggle|check)
Rotate90 | Rotates the object under the crosshair by 90 degree steps. | pcb_move_obj(steps)
DumpCsect | Print the cross-section of the board (layer stack) | DumpCsect()
Grid | Set the grid. | grid(set, [name:]size[@offs][!unit]) grid(+|up) grid(-|down) grid(#N) grid(idx, N)
le | Loads an element (subcircuit, footprint) into the current buffer. | le [name]
FreeRotateBuffer | Rotates the current paste buffer contents by the specified angle. The angle is given in degrees. If no angle is given, the user is prompted for one. | FreeRotateBuffer([Angle])
js | Execute a script one-liner using a specific language | Oneliner(lang, script)
LoadHpglFrom | Loads the specified hpgl plot file to the current buffer | LoadHpglFrom(filename)
LibraryChanged | Tells the GUI that the libraries have changed. | LibraryChanged()
CreateMenu | Creates a new menu, popup (only path specified) or submenu (at least path and action are specified) | CreateMenu(path) CreateMenu(path, action, mnemonic, accel, tooltip, cookie)
SavePatch | Save netlist patch for back annotation. | SavePatch(filename)
PrintVersion | Print version. | PrintVersion()
ClearSquare
PadstackBreakup | Break up a padstack into one non-padstack object per layer type (the hole is ignored) | PadstackBreakup(buffer|selected|objet)
SwitchHID | Switch to another HID. | SwitchHID(lesstif|gtk|batch)
PadstackConvert | Convert selection or current buffer to padstack | PadstackConvert(buffer|selected, [originx, originy])
SaveTedax | Saves the specific type of data in a tEDAx file. Type can be: board-footprints | SaveTedax(board-footprints, filename)
rn | Reads netlist. | rn [name]
py | Execute a script one-liner using a specific language | Oneliner(lang, script)
ExpFeatTmp | Experimental Feature Template. | ExpFeatTmp(...)
SetSquare
estutter | Execute a script one-liner using a specific language | Oneliner(lang, script)
SelectLayer | Select which layer is the current layer. | SelectLayer(1..MAXLAYER|Silk|Rats)
gpmi_scripts | Manage gpmi scripts | TODO
wq | Saves the layout data and quits. | wq
ChangeFlag | Sets or clears flags on objects. | ChangeFlag(Object|Selected|SelectedObjects, flag, value) ChangeFlag(SelectedLines|SelectedPins|SelectedVias, flag, value) ChangeFlag(SelectedPads|SelectedTexts|SelectedNames, flag, value) ChangeFlag(SelectedElements, flag, value) flag = thermal | join value = 0 | 1
CycleDrag | Cycle through which object is being dragged | CycleDrag()
ListRotations
Puller | Pull an arc-line junction tight. | pcb_act_Puller()
FullScreen | Hide widgets to get edit area full screen | pcb_act_FullScreen(on|off|toggle)
AddRats | Add one or more rat lines to the board. | AddRats(AllRats|SelectedRats|Close)
trim | Use one or more objects as cutting edge and trim or split other objects. First argument is the cutting edge | trim([selected|found|object], [selected|found|object]) split([selected|found|object], [selected|found|object])
Undo | Undo recent changes. | undo() undo(ClearList)
Teardrops
Atomic | Save or restore the undo serial number. | Atomic(Save|Restore|Close|Block)
PrintPaths | Print full paths and search paths. | PrintPaths()
RenumberBuffer | TODO | RenumberBlock(old_base,new_base)
Backup | Backup the current layout - save using the same method that the timed backup function uses | Backup()
ChangeJoin | Changes the join (clearance through polygons) of objects. | ChangeJoin(ToggleObject|SelectedLines|SelectedArcs|Selected)
ApplyVendor | Applies the currently loaded vendor drill table to the current design. | ApplyVendor()
Puller | Pull an arc-line junction tight. | pcb_act_Puller()
DumpPlugins | Print plugins loaded in a format digestable by scripts. | DumpPlugins()
djopt | Perform various optimizations on the current board. | djopt(debumpify|unjaggy|simple|vianudge|viatrim|orthopull) djopt(auto) - all of the above djopt(miter)
UnloadVendor | Unloads the current vendor drill mapping table. | UnloadVendor()
Atomic | Save or restore the undo serial number. | Atomic(Save|Restore|Close|Block)
ExecuteFile | Run actions from the given file. | ExecuteFile(filename)
RouteStylesChanged | Tells the GUI that the routing styles have changed. | RouteStylesChanged()
Backup | Backup the current layout - save using the same method that the timed backup function uses | Backup()
SaveTo | Saves data to a file. | SaveTo(Layout|LayoutAs,filename,[fmt]) SaveTo(AllConnections|AllUnusedPins|ElementConnections,filename) SaveTo(PasteBuffer,filename,[fmt])
PrintCopyright | Print copyright notice. | PrintCopyright()
SaveTo | Saves data to a file. | SaveTo(Layout|LayoutAs,filename,[fmt]) SaveTo(AllConnections|AllUnusedPins|ElementConnections,filename) SaveTo(PasteBuffer,filename,[fmt])
cam | Export jobs for feeding cam processes | cam(exec, script) cam(call, jobname)
MorphPolygon | Converts dead polygon islands into separate polygons. | pcb_poly_morph(Object|Selected)
PCBChanged | Tells the GUI that the whole PCB has changed. The optional "revert"parameter can be used as a hint to the GUI that the same design is beingreloaded, and that it might keep some viewport settings | PCBChanged([revert])
Normalize | Move all objects within the drawing area, align the drawing to 0;0 | Normalize()
EvalConf | Perform various operations on the configuration tree. | EvalConf(path) - evaluate a config path in different config sources to figure how it ended up in the native database
FontEdit | Convert the current font to a PCB for editing. | FontEdit()
DumpObjFlags | Print a script processable digest of all flags, per object type | DumpObjFlags()
LoadScript | Load a fungw script | LoadScript(id, filename, [language])

Display

Several display-related actions.

Display(SubcID, template)
Display(Grid|Redraw|Pinout|PinOrPadName)
Display(CycleClip|CycleCrosshair|ToggleAllDirections|ToggleStartDirection)
Display(ToggleGrid|ToggleRubberBandMode|ToggleUniqueNames)
Display(ToggleName|ToggleClearLine|ToggleFullPoly|ToggleSnapPin)
Display(ToggleSnapOffGridLine|ToggleHighlightOnPoint|ToggleCheckPlanes)
Display(ToggleThindraw|ToggleThindrawPoly|ToggleOrthoMove|ToggleLocalRef)
Display(ToggleLiveRoute|ToggleShowDRC|ToggleAutoDRC|LockNames|OnlyNames)

PrintActions | Print all actions available. | PrintActions()
ChkSubcID | Return 1 if currently shown subc ID matches the requested pattern | ChkSubcID(pattern)
DebugXY | Debug action, with coordinates | DebugXY(...)
Flip | Flip a subcircuit to the opposite side of the board. | Flip(Object|Selected)
ClearOctagon
awk | Execute a script one-liner using a specific language | Oneliner(lang, script)
PolyOffs | replicate the outer contour of the selected polygon(s) with growing or shrinking them by offset; the new polygon is drawn on the current layer | PolyOffs(offset)
pscalib
SetFlag | Sets flags on objects. | SetFlag(Object|Selected|SelectedObjects, flag) SetFlag(SelectedLines|SelectedPins|SelectedVias, flag) SetFlag(SelectedPads|SelectedTexts|SelectedNames, flag) SetFlag(SelectedElements, flag) flag = thermal | join
ChangeName | Sets the name (or pin number) of objects. | ChangeName(Object) ChangeName(Layout|Layer)
ClrFlag | Clears flags on objects. | ClrFlag(Object|Selected|SelectedObjects, flag) ClrFlag(SelectedLines|SelectedPins|SelectedVias, flag) ClrFlag(SelectedPads|SelectedTexts|SelectedNames, flag) ClrFlag(SelectedElements, flag) flag = thermal | join
AddRats | Add one or more rat lines to the board. | AddRats(AllRats|SelectedRats|Close)
LoadEeschemaFrom | Loads the specified eeschema .net file - the netlist must be an s-expression. | LoadEeschemaFrom(filename)
DRC | Invoke the DRC check. | DRC()
EditGroup | Change a property or attribute of a layer group. If the first argument starts with @, it is taken as the group name to manipulate, else the action uses the current layer's group. Without arguments or if only a layer name is specified, interactive runs editing. | Editgroup([@group], [name=text|type=+bit|type=-bit])] Editlayer([@layer], attrib, key=value)
AutoPlaceSelected | Auto-place selected components. | AutoPlaceSelected()
Unselect | Unselects the object at the pointer location or the specified objects. | Unselect(All|Block|Connection)
split | Use one or more objects as cutting edge and trim or split other objects. First argument is the cutting edge | trim([selected|found|object], [selected|found|object]) split([selected|found|object], [selected|found|object])
ChangePaste
PolyCombine
ChangeSizes | Changes all sizes of objects. | ChangeSizes(Object, delta|style) ChangeSizes(SelectedObjects|Selected, delta|style) ChangeSizes(SelectedLines|SelectedPins|SelectedVias, delta|style) ChangeSizes(SelectedPads|SelectedTexts|SelectedNames, delta|style) ChangeSizes(SelectedElements, delta|style)
NetlistChanged | Tells the GUI that the netlist has changed. | NetlistChanged()
MinMaskGap
align | Align subcircuits | Align(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])
ChangeOctagon
CreateText | Create a new text object | CreateText(layer, fontID, X, Y, direction, scale, text)

SetThermal

Set the thermal (on the current layer) of padstacks to the given style.
Style = 0 means no thermal.
Style = 1 has diagonal fingers with sharp edges.
Style = 2 has horizontal and vertical fingers with sharp edges.
Style = 3 is a solid connection to the plane.
Style = 4 has diagonal fingers with rounded edges.
Style = 5 has horizontal and vertical fingers with rounded edges.

SetThermal(Object|SelectedPins|SelectedVias|Selected, Style)

extedit | extedit(object|selected, [interactive|method]) | Invoke an external program to edit a specific part of the current board.
DumpPluginDirs | Print plugins directories in a format digestable by scripts. | DumpPluginDirs()
ChangeRadius | Changes the width or height (radius) of an arc. | ChangeRadius(Object, width|x|height|y|both, delta) ChangeRadius(SelectedObjects|Selected, width|x|height|y|both, delta) ChangeRadius(SelectedArcs, width|x|height|y|both, delta)
ElementSetAttr | Sets or clears an element-specific attribute. | ElementSetAttr(refdes,name[,value])
ManagePlugins | Manage plugins dialog. | ManagePlugins()
UnloadScript | Unload a fungw script | UnloadScript(id)
ElementList | Adds the given element if it doesn't already exist. | ElementList(Start|Done|Need,<refdes>,<footprint>,<value>)
PasteBuffer | Various operations on the paste buffer. | PasteBuffer(AddSelected|Clear|1..PCB_MAX_BUFFER) PasteBuffer(Rotate, 1..3) PasteBuffer(Convert|Restore|Mirror) PasteBuffer(ToLayout, X, Y, units) PasteBuffer(ToLayout, crosshair) PasteBuffer(Save, Filename, [format], [force]) PasteBuffer(Push) PasteBuffer(Pop)
LoadhypFrom | Loads the specified Hyperlynx file. | LoadhypFrom(filename[, "debug"]...)
dumpflags | dump flags, optionally using the format string provided by the user | dumpflags([fmt])
SetOctagon
ChkBuffer | Return 1 if currently selected buffer's index matches idx | ChkBuffer(idx)
Polygon | Some polygon related stuff. | Polygon(Close|CloseHole|PreviousPoint)

Display

Several display-related actions.

Display(SubcID, template)
Display(Grid|Redraw|Pinout|PinOrPadName)
Display(CycleClip|CycleCrosshair|ToggleAllDirections|ToggleStartDirection)
Display(ToggleGrid|ToggleRubberBandMode|ToggleUniqueNames)
Display(ToggleName|ToggleClearLine|ToggleFullPoly|ToggleSnapPin)
Display(ToggleSnapOffGridLine|ToggleHighlightOnPoint|ToggleCheckPlanes)
Display(ToggleThindraw|ToggleThindrawPoly|ToggleOrthoMove|ToggleLocalRef)
Display(ToggleLiveRoute|ToggleShowDRC|ToggleAutoDRC|LockNames|OnlyNames)

mawk | Execute a script one-liner using a specific language | Oneliner(lang, script)
DebugXY | Debug action, with coordinates | DebugXY(...)
LoadFontFrom | Load PCB font from a file | LoadFontFrom([file, id])
dumpdata | Dump an aspect of the data | dumpdata()
ChangeAngle | Changes the start angle, delta angle or both angles of an arc. | ChangeAngle(Object, start|delta|both, delta) ChangeAngle(SelectedObjects|Selected, start|delta|both, delta) ChangeAngle(SelectedArcs, start|delta|both, delta)
DumpLibrary | Display the entire contents of the libraries. | DumpLibrary()
MarkCrosshair | Set/Reset the pcb_crosshair mark. | MarkCrosshair() MarkCrosshair(Center)
MoveToCurrentLayer | Moves objects to the current layer. | MoveToCurrentLayer(Object|SelectedObjects)
regpoly | Generate regular polygon. Where is x;y and radius is either r or rx;ry. Rotation is in degrees. | regpoly([where,] corners, radius [,rotation])
propedit | Run the property editor | propedit()
pscalib
SetFlag | Sets flags on objects. | SetFlag(Object|Selected|SelectedObjects, flag) SetFlag(SelectedLines|SelectedPins|SelectedVias, flag) SetFlag(SelectedPads|SelectedTexts|SelectedNames, flag) SetFlag(SelectedElements, flag) flag = thermal | join
ClrFlag | Clears flags on objects. | ClrFlag(Object|Selected|SelectedObjects, flag) ClrFlag(SelectedLines|SelectedPins|SelectedVias, flag) ClrFlag(SelectedPads|SelectedTexts|SelectedNames, flag) ClrFlag(SelectedElements, flag) flag = thermal | join
ChangeHole
ChangeSquare
Import | Import schematics. | Import() Import([gnetlist|make[,source,source,...]]) Import(setnewpoint[,(mark|center|X,Y)]) Import(setdisperse,D,units)
dlg_test | test the attribute dialog | dlg_test()
DumpActions | Dump all actions available. | DumpActions()
RenumberBuffer | TODO | RenumberBlock(old_base,new_base)
ChkLayer | Returns 1 if the specified layer is the active layer | ChkLayer(layerid)
AutoRoute | Auto-route some or all rat lines. | AutoRoute(AllRats|SelectedRats)
mesh | generate a mesh for simulation | mesh()
ExportGUI | Open the export dialog. | ExportGUI()
net | Perform various actions on netlists. | Net(find|select|rats|norats|clear[,net[,pin]]) Net(freeze|thaw|forcethaw) Net(swap) Net(add,net,pin)
OptAutoOnly | Toggles the optimize-only-autorouted flag. | OptAutoOnly()
New | Starts a new layout. | New([name])
Grid | Set the grid. | grid(set, [name:]size[@offs][!unit]) grid(+|up) grid(-|down) grid(#N) grid(idx, N)
cam | Export jobs for feeding cam processes | cam(exec, script) cam(call, jobname)
lua | Execute a script one-liner using a specific language | Oneliner(lang, script)
Import | Import schematics. | Import() Import([gnetlist|make[,source,source,...]]) Import(setnewpoint[,(mark|center|X,Y)]) Import(setdisperse,D,units)
MoveLayer | Moves/Creates/Deletes Layers. | MoveLayer(old,new)
integrity | perform integrirty check on the current board and generate errors if needed | integrity()
ChkGridUnits | Return 1 if currently selected grid unit matches the expected (normally mm or mil) | ChkGridUnits(expected)
propset | Change the named property of all selected objects to/by value | propset(name, value)
djopt | Perform various optimizations on the current board. | djopt(debumpify|unjaggy|simple|vianudge|viatrim|orthopull) djopt(auto) - all of the above djopt(miter)
PrintCopyright | Print copyright notice. | PrintCopyright()
extedit | extedit(object|selected, [interactive|method]) | Invoke an external program to edit a specific part of the current board.
SetUnits | Set the default measurement units. | SetUnits(mm|mil)
SaveFontTo | Save PCB font to a file | SaveFontTo([file, id])
mill | Calculate toolpath for milling away copper | mill()
ChangePinName | Sets the name of a specific pin on a specific subcircuit. | ChangePinName(Refdes,PinNumber,PinName)
RouteStyle | Copies the indicated routing style into the current pen. | RouteStyle(style_id|style_name)
awk | Execute a script one-liner using a specific language | Oneliner(lang, script)
SwitchHID | Switch to another HID. | SwitchHID(lesstif|gtk|batch)
LoadTedaxFrom | Loads the specified block from a tedax file. Type can be: netlist or footprint. | LoadTedaxFrom(netlist|footprint, filename)
SaveTedax | Saves the specific type of data in a tEDAx file. Type can be: board-footprints | SaveTedax(board-footprints, filename)
ChkRst | Return 1 if route_style_id matches pen. | ChkRst(route_style_id)
Polygon | Some polygon related stuff. | Polygon(Close|CloseHole|PreviousPoint)
autocrop | Autocrops the board dimensions to (extants + a margin of 1 grid), keeping the move and board size grid aligned | autocrop()
Connection | Searches connections of the object at the cursor position. | Connection(Find|ResetLinesAndPolygons|ResetPinsAndVias|Reset)
distributetext | Distribute Text Elements | DistributeText(Y, [Lefts/Rights/Tops/Bottoms/Centers/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])
RipUp | Ripup auto-routed tracks | RipUp(All|Selected|Element)
DRC | Invoke the DRC check. | DRC()
RenumberBlock | TODO | RenumberBlock(old_base,new_base)
CycleDrag | Cycle through which object is being dragged | CycleDrag()
PrintVersion | Print version. | PrintVersion()
Teardrops
ChkRst | Return 1 if route_style_id matches pen. | ChkRst(route_style_id)
regpoly | Generate regular polygon. Where is x;y and radius is either r or rx;ry. Rotation is in degrees. | regpoly([where,] corners, radius [,rotation])
tcl | Execute a script one-liner using a specific language | Oneliner(lang, script)
dumpconf | Perform 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
DisperseElements | Disperses subcircuits. | DisperseElements(All|Selected)
ChangeNonetlist | Changes the nonetlist flag of subcircuits. | ChangeNonetlist(ToggleObject) ChangeNonetlist(SelectedElements) ChangeNonetlist(Selected|SelectedObjects)
RemoveMenu | Recursively removes a new menu, popup (only path specified) or submenu. | RemoveMenu(path|cookie)
Mode | Change or use the tool mode. | Mode(Arc|Arrow|Copy|InsertPoint|Line|Lock|Move|None|PasteBuffer) Mode(Polygon|Rectangle|Remove|Rotate|Text|Thermal|Via) Mode(Notify|Release|Cancel|Stroke) Mode(Save|Restore)
gpmi_scripts | Manage gpmi scripts | TODO
Renumber | Renumber all subcircuits. The changes will be recorded to filename for use in backannotating these changes to the schematic. | Renumber() Renumber(filename)
d1 | debug action for development | d1()
FullScreen | Hide widgets to get edit area full screen | pcb_act_FullScreen(on|off|toggle)
mruby | Execute a script one-liner using a specific language | Oneliner(lang, script)
shape | Interactive shape generator. | shape()
PrintPaths | Print full paths and search paths. | PrintPaths()
stt | Execute a script one-liner using a specific language | Oneliner(lang, script)
ExecCommand | Run shell command | System(shell_cmd)
ChangeJoin | Changes the join (clearance through polygons) of objects. | ChangeJoin(ToggleObject|SelectedLines|SelectedArcs|Selected)
UnloadVendor | Unloads the current vendor drill mapping table. | UnloadVendor()
NetlistChanged | Tells the GUI that the netlist has changed. | NetlistChanged()
propset | Change the named property of all selected objects to/by value | propset(name, value)
q! | Quits the application without confirming. | q!
SetValue | Change various board-wide values and sizes. | SetValue(Grid|Line|LineSize|Text|TextScale, delta)
ChkMode | Return 1 if the currently selected mode is the expected_mode | ChkMode(expected_mode)
System | Run shell command | System(shell_cmd)
netlist | Perform various actions on netlists. | Net(find|select|rats|norats|clear[,net[,pin]]) Net(freeze|thaw|forcethaw) Net(swap) Net(add,net,pin)
ChangeNonetlist | Changes the nonetlist flag of subcircuits. | ChangeNonetlist(ToggleObject) ChangeNonetlist(SelectedElements) ChangeNonetlist(Selected|SelectedObjects)
PolyStitch
align | Align subcircuits | Align(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])
dumpundo | Print info about fonts | dumpfonts()
le | Loads an element (subcircuit, footprint) into the current buffer. | le [name]
roundrect | Generate a rectangle with round corners | roundrect([where,] width[;height] [,rx[;ry] [,rotation]])
js | Execute a script one-liner using a specific language | Oneliner(lang, script)
ChkGridSize | Return 1 if the currently selected grid matches the expected_size. If argument is "none" return 1 if there is no grid. | ChkGridSize(expected_size) ChkGridSize(none)
PadstackPlace | Place a pad stack (either proto_id, or if not specified, the default for style) | PadstackPlace([proto_id|default], [x, y])
PrintFiles | Print files currently loaded. | PrintFiles()
System | Run shell command | System(shell_cmd)
MorphPolygon | Converts dead polygon islands into separate polygons. | pcb_poly_morph(Object|Selected)
LoadEeschemaFrom | Loads the specified eeschema .net file - the netlist must be an s-expression. | LoadEeschemaFrom(filename)
PolyHatch | hatch the selected polygon(s) with lines of the current style; lines are drawn on the current layer; flags are h:horizontal, v:vertical, c:contour, p:poly | PolyHatch([spacing], [hvcp]) PolyHatch(interactive)
DumpObjFlags | Print a script processable digest of all flags, per object type | DumpObjFlags()
net | Perform various actions on netlists. | Net(find|select|rats|norats|clear[,net[,pin]]) Net(freeze|thaw|forcethaw) Net(swap) Net(add,net,pin)
rn | Reads netlist. | rn [name]
py | Execute a script one-liner using a specific language | Oneliner(lang, script)
FontSave | Convert the current PCB back to a font. | FontSave()
New | Starts a new layout. | New([name])
LoadScript | Load a fungw script | LoadScript(id, filename, [language])
lua | Execute a script one-liner using a specific language | Oneliner(lang, script)
ListScripts | List a fungw script | ListScripts([pat])
ClearOctagon
wq | Saves the layout data and quits. | wq
FlagEdit | Change the layer binding. | FlagEdit(object)
forcecolor | change selected objects' color to #RRGGBB, reset if does not start with '#' | forcecolor(#RRGGBB)
ToggleView | Toggle the visibility of the specified layer or layer group. | ToggleView(1..MAXLAYER) ToggleView(layername) ToggleView(Silk|Rats|Pins|Vias|BackSide) ToggleView(All, Open|Vis, Set|Clear|Toggle)
perl | Execute a script one-liner using a specific language | Oneliner(lang, script)
ChangeName | Sets the name (or pin number) of objects. | ChangeName(Object) ChangeName(Layout|Layer)
Oneliner | Execute a script one-liner using a specific language | Oneliner(lang, script)
GetStyle | Return integer index (>=0) of the currently active style or -1 if no style is selected (== custom style) | GetStyle()
PrintUsage | Print command line arguments of pcb-rnd or a plugin loaded. | PrintUsage() PrintUsage(plugin)
aligntext | Align Text Elements | AlignText(X/Y, [Lefts/Rights/Tops/Bottoms/Centers, [First/Last/pcb_crosshair/Average[, Gridless]]])
smartdisperse | TODO | SmartDisperse([All|Selected])
acompnet | Attempt to auto-complete the current network | acompnet()
mawk | Execute a script one-liner using a specific language | Oneliner(lang, script)
LoadDsnFrom | Loads the specified routed dsn file. | LoadDsnFrom(filename)
MinClearGap | Ensures that polygons are a minimum distance from objects. | MinClearGap(delta) MinClearGap(Selected, delta)
dumpflags | dump flags, optionally using the format string provided by the user | dumpflags([fmt])
ChkBuffer | Return 1 if currently selected buffer's index matches idx | ChkBuffer(idx)
DelGroup | Remove a layer group; if the first argument is not specified, the current group is removed | DelGroup([@group])
ChkMode | Return 1 if the currently selected mode is the expected_mode | ChkMode(expected_mode)
Rotate90 | Rotates the object under the crosshair by 90 degree steps. | pcb_move_obj(steps)
netlist | Perform various actions on netlists. | Net(find|select|rats|norats|clear[,net[,pin]]) Net(freeze|thaw|forcethaw) Net(swap) Net(add,net,pin)
ExportScadPoly | exports all selected polygons to an openscad script; only the outmost contour of each poly is exported | ScadExportPoly(filename)
tcl | Execute a script one-liner using a specific language | Oneliner(lang, script)
EditLayer | Change a property or attribute of a layer. If the first argument starts with @, it is taken as the layer name to manipulate, else the action uses the current layer. Without arguments or if only a layer name is specified, interactive runs editing. | Editlayer([@layer], [name=text|auto=[0|1]|sub=[0|1])] Editlayer([@layer], attrib, key=value)
CreateText | Create a new text object | CreateText(layer, fontID, X, Y, direction, scale, text)

SetThermal

Set the thermal (on the current layer) of padstacks to the given style.
Style = 0 means no thermal.
Style = 1 has diagonal fingers with sharp edges.
Style = 2 has horizontal and vertical fingers with sharp edges.
Style = 3 is a solid connection to the plane.
Style = 4 has diagonal fingers with rounded edges.
Style = 5 has horizontal and vertical fingers with rounded edges.

SetThermal(Object|SelectedPins|SelectedVias|Selected, Style)

RemoveSelected | Removes any selected objects. | pcb_remove_selected()
UnloadScript | Unload a fungw script | UnloadScript(id)
ClearSquare
DisableVendor | Disables automatic drill size mapping. | DisableVendor()
mesh | generate a mesh for simulation | mesh()
distributetext | Distribute Text Elements | DistributeText(Y, [Lefts/Rights/Tops/Bottoms/Centers/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])
estutter | Execute a script one-liner using a specific language | Oneliner(lang, script)
Export | Export the current layout, e.g. Export(png, --dpi, 600) | Export(exporter, [exporter-args])
stt | Execute a script one-liner using a specific language | Oneliner(lang, script)
GlobalPuller | Pull all traces tight. | pcb_act_GlobalPuller([Found|Selected])
distribute | Distribute subcircuits | Distribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])
RipUp | Ripup auto-routed tracks | RipUp(All|Selected|Element)
BoardFlip | Mirror the board over the x axis, optionally mirroring sides as well. | BoardFlip([sides])
MoveToCurrentLayer | Moves objects to the current layer. | MoveToCurrentLayer(Object|SelectedObjects)
Export | Export the current layout, e.g. Export(png, --dpi, 600) | Export(exporter, [exporter-args])
LoadFrom | Load layout data from a file. | LoadFrom(Layout|LayoutToBuffer|SubcToBuffer|Netlist|Revert,filename[,format])
MoveLayer | Moves/Creates/Deletes Layers. | MoveLayer(old,new)
Redo | Redo recent "undo" operations. | redo()
mill | Calculate toolpath for milling away copper | mill()
ChangeSquare
DumpPlugins | Print plugins loaded in a format digestable by scripts. | DumpPlugins()
MoveObject | Moves the object under the crosshair. | pcb_move_obj(X,Y,[units])
integrity | perform integrirty check on the current board and generate errors if needed | integrity()
LayerBinding | Change the layer binding. | LayerBinding(object) LayerBinding(selected) LayerBinding(buffer)
ExecuteFile | Run actions from the given file. | ExecuteFile(filename)
Report | Produce various report. | Report(Object|DrillReport|FoundPins|NetLength|NetLengthTo|AllNetLengths|[,name])
dumplayers | Print info about each layer | dumplayers([all])
h | Print a help message for commands. | h
l | Loads layout data. | l [name] [format]
m | Loads a layout into the current buffer. | m [name]
q | Quits the application after confirming. | q
s | Saves layout data. | s [name] w [name]
w | Saves layout data. | s [name] w [name]
mruby | Execute a script one-liner using a specific language | Oneliner(lang, script)
Report | Produce various report. | Report(Object|DrillReport|FoundPins|NetLength|NetLengthTo|AllNetLengths|[,name])
shape | Interactive shape generator. | shape()
skline | Tool for drawing sketch lines | skline()
ToggleHideName
EvalConf | Perform various operations on the configuration tree. | EvalConf(path) - evaluate a config path in different config sources to figure how it ended up in the native database
Bell | Attempt to produce audible notification (e.g. beep the speaker). | Bell()
FontEdit | Convert the current font to a PCB for editing. | FontEdit()
ReportObject | Report on the object under the crosshair | ReportObject()
LoadFootprint | Loads a single footprint by name. | pcb_load_footprint(filename[,refdes,value])
DisperseElements | Disperses subcircuits. | DisperseElements(All|Selected)
Mode | Change or use the tool mode. | Mode(Arc|Arrow|Copy|InsertPoint|Line|Lock|Move|None|PasteBuffer) Mode(Polygon|Rectangle|Remove|Rotate|Text|Thermal|Via) Mode(Notify|Release|Cancel|Stroke) Mode(Save|Restore)
skline | Tool for drawing sketch lines | skline()
dumpfonts | Print info about fonts | dumpfonts()
ChangeSize | Changes the size of objects. | ChangeSize(Object, delta|style) ChangeSize(SelectedObjects|Selected, delta|style) ChangeSize(SelectedLines|SelectedPins|SelectedVias, delta|style) ChangeSize(SelectedPads|SelectedTexts|SelectedNames, delta|style) ChangeSize(SelectedElements, delta|style)
ToggleVendor | Toggles the state of automatic drill size mapping. | ToggleVendor()
SelectLayer | Select which layer is the current layer. | SelectLayer(1..MAXLAYER|Silk|Rats)
query | Perform various queries on PCB data. | query(dump, expr) - dry run: compile and dump an expression
jostle | Make room by moving wires away. | Jostle(diameter)
ApplyVendor | Applies the currently loaded vendor drill table to the current design. | ApplyVendor()
Debug | Debug action. | Debug(...)
ListRotations
Unselect | Unselects the object at the pointer location or the specified objects. | Unselect(All|Block|Connection)
jostle | Make room by moving wires away. | Jostle(diameter)
ChangeOctagon
RemoveMenu | Recursively removes a new menu, popup (only path specified) or submenu. | RemoveMenu(path|cookie)
EnableVendor | Enables automatic drill size mapping. | EnableVendor()
ToPoly | convert a closed loop of lines and arcs into a polygon | ToPoly() ToPoly(outline)
ChangeSizes | Changes all sizes of objects. | ChangeSizes(Object, delta|style) ChangeSizes(SelectedObjects|Selected, delta|style) ChangeSizes(SelectedLines|SelectedPins|SelectedVias, delta|style) ChangeSizes(SelectedPads|SelectedTexts|SelectedNames, delta|style) ChangeSizes(SelectedElements, delta|style)
ManagePlugins | Manage plugins dialog. | ManagePlugins()
ToPoly | convert a closed loop of lines and arcs into a polygon | ToPoly() ToPoly(outline)
roundrect | Generate a rectangle with round corners | roundrect([where,] width[;height] [,rx[;ry] [,rotation]])
LoadMucsFrom | Loads the specified mucs routing file. | LoadMucsFrom(filename)
fp_rehash | Flush the library index; rescan all library search paths and rebuild the library index. Useful if there are changes in the library during a pcb-rnd session. | fp_rehash()
ElementList | Adds the given element if it doesn't already exist. | ElementList(Start|Done|Need,<refdes>,<footprint>,<value>)
PolyHatch | hatch the selected polygon(s) with lines of the current style; lines are drawn on the current layer; flags are h:horizontal, v:vertical, c:contour, p:poly | PolyHatch([spacing], [hvcp]) PolyHatch(interactive)
Select | Toggles or sets the selection. | Select(Object|ToggleObject) Select(All|Block|Connection) Select(Convert)
ExportScadPoly | exports all selected polygons to an openscad script; only the outmost contour of each poly is exported | ScadExportPoly(filename)
RemoveSelected | Removes any selected objects. | pcb_remove_selected()
DeleteRats | Delete rat lines. | DeleteRats(AllRats|Selected|SelectedRats)
Quit | Quits the application after confirming. | Quit()
LoadVendorFrom | Loads the specified vendor lihata file. | LoadVendorFrom(filename)
perl | Execute a script one-liner using a specific language | Oneliner(lang, script)
LoadMentorFrom | Loads the specified Mentor Graphics Design Capture schematics flat .edf file. | LoadMentorFrom(filename)
PolyStitch
Select | Toggles or sets the selection. | Select(Object|ToggleObject) Select(All|Block|Connection) Select(Convert)
javascript | Execute a script one-liner using a specific language | Oneliner(lang, script)
PadstackEdit | interactive pad stack editor | PadstackEdit(object, [tab])
About | Present the about box | About()
PrintFiles | Print files currently loaded. | PrintFiles()
PolyOffs | replicate the outer contour of the selected polygon(s) with growing or shrinking them by offset; the new polygon is drawn on the current layer | PolyOffs(offset)