Index: action_details.html =================================================================== --- action_details.html (revision 34223) +++ action_details.html (revision 34224) @@ -176,6 +176,28 @@ For non-subcircuit objects: using Marks is not recommended, using Gridless is recommended. +

AnyLoad

+
+

+ +
Syntax summary: +AnyLoad([path]) +
Help text: +Load "anything" from path (or offer a file selectio dialog if no path specified) +
Registered by:n/a +
+

+Loads an anyload.lht file or any lihata document that can be handled by the anyload system (mostly settings and setting-like states, e.g. config, vendor drill map, DRC and user scripts). +

+ When called without arguments a file selection dialog is popped up for selecting the file to load. +

+ More info on this mechanism in the + + knowledge pool node of anyload. + + +

+

ApplyVendor

@@ -4051,6 +4073,10 @@

  • UnFreezeSerial: stop increasing the undo serial number
  • + FreezeAdd: start adding operations to the undo list again +
  • + UnFreezeAdd: start adding operations to the undo list again +
  • IncSerial: increase the undo serial number (operations with the same serial number are batched); a typical sequence for batching operations is: Undo(FreezeSerial); ...; Undo(UnFreezeSerial); Undo(IcSerial)
  • GetSerial: return the current undo serial Index: action_reference.html =================================================================== --- action_reference.html (revision 34223) +++ action_reference.html (revision 34224) @@ -13,7 +13,7 @@ @@ -24,6 +24,7 @@ + @@ -113,6 +114,7 @@ + @@ -170,7 +172,7 @@ - + @@ -206,6 +208,7 @@ + @@ -237,7 +240,7 @@ - + @@ -289,8 +292,10 @@ + + @@ -333,11 +338,12 @@ - + + @@ -403,7 +409,8 @@ - + +
    -This is pcb-rnd 2.3.0 (svn r33374) an interactive printed circuit board editor , Revision: 33389 +This is pcb-rnd 2.3.1 (svn r34157) an interactive printed circuit board editor , Revision: 34223
    Action Description Syntax Plugin
    AboutPresent the about boxAbout()dialogs plugin
    AdjustStyleOpen the dialog box for editing the route styles.AdjustStyle([routestyle_idx])lib_hid_pcbui/route_style
    alignAlign objectsAlign(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])distalign plugin
    aligntextAlign objectsAlign(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks, [First/Last/pcb_crosshair/Average[, Gridless]]])distalign plugin
    AnyLoadLoad "anything" from path (or offer a file selectio dialog if no path specified)AnyLoad([path])
    ApplyVendorApplies the currently loaded vendor drill table to the current design.ApplyVendor()vendor drill mapping
    ArcNewCreate a pcb arc segment on a layer. For now data must be "pcb". Returns the idpath of the new object or 0 on error.ArcNew([noundo,] data, layer, centx, centy, radiusx, radiusy, start_ang, delta_ang, thickness, clearance, flags)act_draw
    asmInteractive assembly assistantasm()asm plugin
    DrcQueryImportImport a rule and related definitions from a file.DrcQueryImport([filename])drc_query
    DrcQueryListRulesList all drc rules implemented in drc_queryDrcQueryListRules()drc_query
    DrcQueryRuleModAutomated DRC rule editing (for scripting and import)DrcQueryRuleMod(clear, source)
    DrcQueryRuleMod(create, rule_name)
    DrcQueryRuleMod(get, rule_name, field_name)
    DrcQueryRuleMod(set, rule_name, field_name, value)
    drc_query
    duktapeExecute a script one-liner using a specific languageOneliner(lang, script)script plugin
    DumpActionsDump all actions available.DumpActions()
    dumpconfPerform 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
    diag plugin
    DumpCsectPrint the cross-section of the board (layer stack)DumpCsect()draw_csect
    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]])
    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)
    GridSet the grid.grid(set, [name:]size[@offs][!unit])
    grid(+|up)
    grid(-|down)
    grid(#N)
    grid(idx, N)
    grid(get)
    GroupPropGuiChange group flags and propertiesGroupPropGui(groupid)dialogs plugin
    gui_FallbackColorPickIntenal: GUI frontend action. Do not use directly.lib_hid_common plugin
    gui_fpmap_chooseInternal call action for a dialog to select a footprint from a map.gui_fpmap_choose(map)dialogs plugin
    LayerObjDupDuplicate srcobj on a layer. Srcobj is specified by an idpath. For now data must be "pcb". Returns the idpath of the new object or 0 on error.LayerObjDup([noundo,] data, layer, srcobj)act_draw
    LayerPropGuiChange layer flags and propertiesLayerPropGui(layerid)dialogs plugin
    LayerVisResetReset layer visibility to safe defaults.LayerVisReset()
    LayerXformReset layer visibility to safe defaults.LayerXform(layerid, toggle|set|clear, xformfield, [value])
    leLoads an element (subcircuit, footprint) into the current buffer.le [name]shand_cmd plugin
    LibraryChangedTells the GUI that the libraries have changed.LibraryChanged()oldactions plugin
    LibraryDialogOpen the library dialog.libraryDialog()dialogs plugin
    LoadTinycadFromLoads the specified tinycad .net file - the netlist must be tinycad netlist output.LoadTinycadFrom(filename)tinycad importer
    LoadTtfPresents a GUI dialog for interactively loading glyphs from from a ttf fileLoadTtf()ttf 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], [outline|polygon], [scale], [offset])ttf importer
    LoadVendorFromLoads the specified vendor lihata file.LoadVendorFrom(filename)vendor drill mapping
    LoadVendorFromLoads the specified vendor lihata file. If second argument is "yes" or "pure", load in pure mode without side effects: do not reset or apply, only incrementally load.LoadVendorFrom(filename, [yes|no])vendor drill mapping
    LogManages the central, in-memory log.Log(clear, [fromID, [toID])
    Log(export, [filename, [text|lihata])
    LogDialogOpen the log dialog.LogDialog()lib_hid_common plugin
    luaExecute a script one-liner using a specific languageOneliner(lang, script)script plugin
    pcb_atan2script plugin
    pcb_atanscript plugin
    pcb_cosscript plugin
    pcb_randscript plugin
    pcb_sinscript plugin
    pcb_sqrtscript plugin
    pcb_srandscript plugin
    pcb_tanscript plugin
    perlExecute a script one-liner using a specific languageOneliner(lang, script)script plugin
    perpDraw a line perpendicular to another lineperp()ddraft plugin
    pythonExecute a script one-liner using a specific languageOneliner(lang, script)script plugin
    q!Quits the application without confirming.q!shand_cmd plugin
    qQuits the application after confirming.qshand_cmd plugin
    queryPerform various queries on PCB data.query(dump, expr) - dry run: compile and dump an expression
    query(eval|evalidp, expr) - compile and evaluate an expression and print a list of results on stdout
    query(select|unselect|view, expr) - select or unselect or build a view of objects matching an expression
    query(setflag:flag|unsetflag:flag, expr) - set or unset a named flag on objects matching an expression
    query(append, idplist, expr) - compile and run expr and append the idpath of resulting objects on idplist
    query plugin
    queryPerform various queries on PCB data.query(dump, expr) - dry run: compile and dump an expression
    query(eval|evalidp, expr) - compile and evaluate an expression and print a list of results on stdout
    query(count, expr) - compile and evaluate an expression and return the number of matched objects (-1 on error)
    query(select|unselect|view, expr) - select or unselect or build a view of objects matching an expression
    query(setflag:flag|unsetflag:flag, expr) - set or unset a named flag on objects matching an expression
    query(append, idplist, expr) - compile and run expr and append the idpath of resulting objects on idplist
    query plugin
    QueryCalcNetLenCalculates the network length by netname; returns an error message string or a positive coord with the lengthQueryCalcNetLen(netname)query plugin
    QueryCompileFieldWith "compile": precompiles textual field name to field ID; with "free": frees the memory allocated for a previously precompiled fieldID.QueryCompileField(compile, fieldname)
    QueryCompileField(free, fieldID)
    query plugin
    QueryObjReturn the value of a field of an object, addressed by the object's idpath and the field's name or precompiled ID. Returns NIL on error.QueryObj(idpath, [.fieldname|fieldID])query plugin
    QuitQuits the application after confirming.Quit()
    ReadBoardLength returns the number of groups on the current PCB. Field returns one of the fields of the group named in groupid. Layerid returns the integer layer ID (as interpreted within data) for the idxth layer of the group.ReadBoard(width|size_x|height|size_y)act_read
    ReadGroupLength returns the number of groups on the current PCB. Field returns one of the fields of the group named in groupid. Layerid returns the integer layer ID (as interpreted within data) for the idxth layer of the group.ReadGroup(length)
    ReadGroup(field, group, [init_invis|ltype|ltypestr|ltypehas|name|open|purpose|vis|length])
    ReadGroup(layerid, group, idx)
    act_read
    RedoRedo recent "undo" operations.redo()
    RedrawRedraw the entire screenRedraw()
    ToolChange or use the tool mode.Tool(Arc|Arrow|Copy|InsertPoint|Line|Lock|Move|None|PasteBuffer)
    Tool(Poly|Rectangle|Remove|Rotate|Text|Thermal|Via)
    Tool(Press|Release|Cancel|Stroke)
    Tool(Save|Restore)
    ToPolyconvert a closed loop of lines and arcs into a polygonToPoly()
    ToPoly(outline)
    lib_polyhelp
    trimUse one or more objects as cutting edge and trim or split other objects. First argument is the cutting edgetrim([selected|found|object], [selected|found|object])
    split([selected|found|object], [selected|found|object])
    ddraft plugin
    UndoUndo recent changes.undo()
    undo(ClearList|FreezeSerial|UnfreezeSerial|IncSerial|GetSerial|Above)
    UILayerCreate or free UI layers. 'New' returns a layer ID that cna be used for addressing.UILayer(new, name, color)
    UILayer(free, layer)
    act_draw
    UndoUndo recent changes.undo()
    undo(ClearList|FreezeSerial|UnfreezeSerial|FreezeAdd|UnfreezeAdd|IncSerial|GetSerial|Above)
    UndoDialogOpen the undo dialog.UndoDialog()dialogs plugin
    UnloadScriptUnload a fungw scriptUnloadScript(id)script plugin
    UnloadVendorUnloads the current vendor drill mapping table.UnloadVendor()vendor drill mapping