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

Re: gEDA: Getting pins from components . . . .



Hi Ales --

Thank you for your continued support and answers!  

> 	object_head/object_tail is not that completely unstructured.
> The list which is component->complex->prim_objs is just the list of
> objects which are part of a component, including the pins, text, lines,
> etc...

I spent some more quality time looking at TOPLEVEL last night using gdb. 
Of course, you are right & my head was wedged.  A TOPLEVEL representation
of a schematic is a little more structured than I had thought.  In
particular, component->complex->prim_objs is a different, lower-level list
than the main component list.

Since I am interested in both component attributes and component pins, I
created a drawing showing my current understanding of the gEDA TOPLEVEL
strucuture, with emphasis upon how attribs and pins are held.  Please find
the drawing attached.  (This may be of interest to other gEDA hackers.)  

Please let me know if my understanding is correct, or if I am still
confused!   :-)

Stuart


Attachment: gEDA_Structures_updated.png
Description: PNG image