[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: Scheme code to read attributes



Cory Cross wrote:
> 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!

you're trying to do this in gnetlist right?

How exactly are you trying to load the file?

> 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)

is there a reason to not just build a set of "heavy" symbols from a 
generic symbol and a file that lists specifics for each actual component 
supported?

-Dan


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev