[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-dev: Scheme code to read attributes
Hi all,
I can't seem to get a simple script to work properly. I tried running a
file called 2testing.scm with only the contents:
(display (gnetlist:get-package-attribute "R101a" "footprint"))
but which gives me the error:
Probably parenthesis mismatch in /tmp/2testing.scm
Most recently read form: (#@display (gnetlist:get-package-attribute
R101a footprint))
I'm guessing the "#@" nonsense means it found the function, meaning it
didn't find the other. Loading gnetlist.scm (where the above function is
defined) gives a similar error.
If someone can tell me how to do what I'm trying to do above (should be
obvious) and also get a list of all the components in the schematic, I'd
be so thankful!
I'm trying to build software to allow arbitrary symbol->part mapping
(see around/after 19:45 in the code sprint log for many details)
Thanks,
Cory Cross
_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev