gEDA-dev: geda-query, a tool for interrogating hierarchical relationships
John Luciani
jluciani at gmail.com
Fri Apr 18 11:29:41 EDT 2008
It would be nice to be able to query symbol attributes to so that the
output of geda-query could be piped into a BOM creation program.
On a similar line I was thinking of doing a schematic server that
could read and write schematic files. You would open a socket to the
server and send commands and receive replies.
Possible commands could be ---
open uC.sch
get attrib # returns a list of all refdes, attribs and values
get refdes # returns all refdes
get attrib R10 # attribs for R10
get attrib R10 manufacturer manufacturer_part_number # two attribs
get attrib * manufacturer manufacturer_part_number # BOM info for
all refdeses
set attrib U10 manufacturer=ADI manufacturer_part_number=AD590 # change
close uC.sch
A socket interface would be nice for doing database driven attribute
assignment. I was planning on starting with the query commands and
then adding the set commands.
(* jcl *)
--
http://www.luciani.org
More information about the geda-dev
mailing list