Frank, First, there is the geda library libgeda. libgeda more or less defines the internal data structures and many of the methods for controling these data structures. However, libgeda is somewhat convoluted. It would be possible to write an application that makes use of libgeda and then extends it by including some sort of externally expossed api.
Another option would be to have an external application that has access to your postgres database write a series of gschem scripts and run them as a batch against gnetlist. Another option would be to have an external application that has access to your postgres database connect to gnetlist and run gnetlist in interactive mode but have your new application take over the standard input/output. The same can be done against my modified version. Steve Meier Frank Miles wrote: > While a geda-newbie, over the years I've developed a set of programs which > use a (Postgresql-based) database to update and error check schematics > originating > in a DOS-based OrCAD. I would like to have similar capabilities in > gschem/pcb. > A key requirement is to be able to read and write component information > (attributes) > by external programs. > > ** Where/how can an external program read and/or write component attributes?? > ** > > I've done a moderate search in the geda documentation to find suitable > hooks/API/ > other mechanism which would allow this. <gattrib> doesn't do it - it provides > a nice mechanism for hand-entry, but doesn't (in my quick check) seem to > provide > any mechanism for program control. > > If anyone can provide pointers to the documents that I have sloppily > overlooked, > I'd appreciate it. Thanks! > > Frank Miles > > > _______________________________________________ > geda-user mailing list > [email protected] > http://www.seul.org/cgi-bin/mailman/listinfo/geda-user > > _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

