[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb scripting



> I'm trying to take a pcb netlist, apply a drill mapping file to it,
> and write it out.  It's easy for me to do it interactively using the
> pcb GUI.  I'd like to do it with a script, so I can automate it with
> a Makefile.  I've looked at the doc and see a command line option
> called "-script" that makes pcb use a script, but when I try it, pcb
> just prints out a help screen.  Any ideas?  I'm using pcb20060422.

The command line you want is "--action-script FOO"

Example:

pcb --action-script myscript.txt myboard.pcb

That will read actions from the file myscript.txt and run them.  Make
sure you include a Quit() action at the end :-)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user