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

Re: gEDA-user: [PATCH 1/2] gnetlist: Add access to all attributes from components with multiple symbol instances.



On Jan 4, 2011, at 4:05 PM, Kai-Martin Knaak wrote:

> John Doty wrote:
> 
>> At least the "resolver" machinery here is accessible, so you can
>> create your own plug-in to repair the behavior.
> 
> Well, if you mean the gnetlist back-ends, I have to say, that they are 
> much less accessible to me than gnetlist itself. Wrong language, little 
> documentation, no manual, no tutorial --> no fun.
> 
> 
>> You could even sort the values, take the first one, 
> 
> How would a function that "retrieve(s) every first attribute value for 
> package consisting of multiple symbol instances" help me sort all 
> values and 

Because you can redefine that function now. It is no longer primitive. The primitive is (gnetlist:get-all-package-attributes) which yields a list you may sort or pick from.

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd@xxxxxxxxx




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