gEDA-dev: New page hook

Christian Viller Hansen cvh at viller.org
Tue Oct 3 06:51:25 EDT 2006


Carlos Nieves Ónega wrote:
> Hi all,
> I have just checked into CVS some changes, adding a new page hook to
> gschem, and an add-component function for scheme.
>
> The latter adds a component to a schematic at a given (x,y) position.
>
> This way, a titleblock can be added automatically when a new page is
> created, and gschem's view won't be so zoomed out (a zoom extents is
> done afterwards).
>
> I also placed some lines into the system-gschemrc file (commented out by
> default) to show this new feature.
>
> Comments welcome!
>   
Great with all the progress going on in gEDA - I think everything seems 
to be improving a lot these days! :)

I do however have a problem with gschem in the current anonymous CVS. I 
get "ERROR: Wrong number of arguments to add-component" and program exit 
when I try to insert a component using the shortcut "i" or from the menu 
Add->Component. It works just fine, when I use the button on the 
toolbar. Any idea why this happens to me?

I have tried to search through the code to solve it myself, but I get 
sort of confused with all the scheme stuff mixed in - I guess I'll have 
to spend more time reading and understanding the code before I can start 
to contribute. :(

Something only slightly related:
I tried to find a statement I could put in my local gafrc file to 
"flush" or clear the component-list, but I couldn't find it. Does it exist?
(It is because I like having a minimal list of symbols, that I trust and 
only copy in those that I need. So far I just overwrite system-gafrc.)

-
Christian


More information about the geda-dev mailing list