Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 29495) +++ trunk/doc/user/09_appendix/action_details.html (revision 29496) @@ -1772,6 +1772,39 @@ Displays a dialog that lets the user select the schematic(s) to import from, then saves that information in the layout's attributes for future imports. +

ImportSch

+
+

+ +
Syntax summary: +ImportSch() +ImportSch(reimport) +ImportSch(setup, importer, [args...]) +
Help text: +Import schematics/netlist. +
Registered by: +import_sch2 plugin +
+

+Imports netlist (and optionally footprint references) from schematic(s) or netlist(s). Works from one or multiple input files. This action does not do file operations on its own, it is merely a dispatched to import plugins. +

+ The import configuration is normally stored in the config tree of the board file (on the + +design + + role of the conf system) and consists of: +

+ +
+

l

Index: trunk/doc/user/09_appendix/action_reference.html =================================================================== --- trunk/doc/user/09_appendix/action_reference.html (revision 29495) +++ trunk/doc/user/09_appendix/action_reference.html (revision 29496) @@ -13,7 +13,7 @@ @@ -164,6 +164,7 @@ + @@ -216,7 +217,7 @@ - + Index: trunk/doc/user/09_appendix/action_src/importsch.html =================================================================== --- trunk/doc/user/09_appendix/action_src/importsch.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/importsch.html (revision 29496) @@ -0,0 +1,13 @@ +Imports netlist (and optionally footprint references) from schematic(s) or +netlist(s). Works from one or multiple input files. This action does not +do file operations on its own, it is merely a dispatched to import plugins. +

+The import configuration is normally stored in the config tree of the board +file (on the design role of the conf system) and consists of: +

    +
  • the name of the importer that will load the input files +
  • a list of arguments to the importer (strings, most often input file names) +
  • misc settings, e.g. verbosity of the import +
+ + Index: trunk/doc/user/09_appendix/formats.html =================================================================== --- trunk/doc/user/09_appendix/formats.html (revision 29495) +++ trunk/doc/user/09_appendix/formats.html (revision 29496) @@ -154,6 +154,13 @@ import netlist and footprint names from freepcb netlist
-This is pcb-rnd 2.2.0 (svn r29339) an interactive printed circuit board editor , Revision: 29362 +This is pcb-rnd 2.2.0 (svn r29487) an interactive printed circuit board editor , Revision: 29495
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
ImportImport schematics.Import()
Import([gnetlist|make[,source,source,...]])
Import(setnewpoint[,(mark|center|X,Y)])
Import(setdisperse,D,units)
import_sch plugin
ImportcpcbFromLoads the auto-routed tracks from the specified c-pcb output.ImportcpcbFrom(filename)cpcb plugin
ImportGUIAsks user which schematics to import into PCB.ImportGUI()dialogs plugin
ImportSchImport schematics/netlist.ImportSch()
ImportSch(reimport)
ImportSch(setup, importer, [args...])
import_sch2 plugin
Inforeport plugin
InfoBarFileChangedPresent the "file changed" warning info bar with buttons to reload or cancelInfoBarFileChanged(open|close)dialogs plugin
integrityperform integrirty check on the current board and generate errors if neededintegrity()diag plugin
MinMaskGapoldactions plugin
ModeChange 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)
MorphPolygonConverts dead polygon islands into separate polygons.pcb_poly_morph(Object|Selected)
MoveCursorToMove the cursor to absolute coords, pan the view as needed.Cursor(x,y)
MoveCursorToMove the cursor to absolute coords, pan the view as needed.MoveCursorTo(x,y)
MoveLayerMoves/Creates/Deletes Layers.MoveLayer(old,new)
MoveLayer(lid,group,gid)
MoveObjectMoves the object under the crosshair.pcb_move_obj(X,Y,[units])
MoveToCurrentLayerMoves objects to the current layer.MoveToCurrentLayer(Object|SelectedObjects) n/a +
import_gnetlist +no +works + + import gEDA/gschem schematics running gnetlist + +n/a
import_hpgl no works @@ -189,6 +196,15 @@ import lines and vias from MUCS unixplot .pl files n/a +
import_net_cmd +no +works + + Import schematics by running a commandline +
+ Import netlist by running a commandline +
+n/a
import_netlist no works @@ -219,6 +235,13 @@ import netlist and footprint produced by an external command n/a +
import_sch2 +no +WIP + + import netlist and footprint info from schematics or netlist + +n/a
import_tinycad no works Index: trunk/src_plugins/import_sch2/import_sch.c =================================================================== --- trunk/src_plugins/import_sch2/import_sch.c (revision 29495) +++ trunk/src_plugins/import_sch2/import_sch.c (revision 29496) @@ -109,7 +109,6 @@ "ImportSch(reimport)\n" "ImportSch(setup, importer, [args...])\n"; static const char pcb_acth_ImportSch[] = "Import schematics/netlist."; -TODO("Write doc:") /* DOC: importsch.html */ static fgw_error_t pcb_act_ImportSch(fgw_arg_t *res, int argc, fgw_arg_t *argv) {