[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: refdes and footprint not automatic from sym to sch
John,
It is already enabled in system-gschemrc.
(attribute-promotion "enabled")
I am getting a somwehat additional error. I put all the refdes and
footprint attributes manually, pass through refdes_renum and when I do
gsch2pcb I get a single:
"could no find refdes on component and could not find any special
attributes!"
followed by a ton of:
"stdin:27: m4: Bad expression in eval: /4"
My setup is a Knoppix live CD. My schematic is frank/geda_pcb/cti.sch,
my symbol components are in frank/gEDAfrank,
Any ideas? I list my config files that I created in the design file
directory. (The .log files confirm that they are read). I did not create
a PCB file or .inc file yet.
Thanks,
Frank
gafrc file
----------
schematics /mnt/sda2/frank/geda_pcb/cti/cti.sch
elements-dir /mnt/sda2/frank/gEDAfrank
components-dir /mnt/sda2/frank/gEDAfrank
(component-library "/mnt/sda2/frank/gEDAfrank")
output-name cti500a
ctibak : project file for gsch2pcb
------
schematics /mnt/sda2/frank/geda_pcb/cti/cti.sch
elements-dir /mnt/sda2/frank/gEDAfrank
components-dir /mnt/sda2/frank/gEDAfrank/
output-name cti
gnetlistrc
----
(component-library "/mnt/sda2/frank/gEDAfrank")
gschemrc
-------
(component-library "/mnt/sda2/frankeory/gEDAfrank")
(attribute-promotion "enabled") << I just added it now, but it was
already in the system-gschemrc >>
On Thu, 19 Apr 2007 12:25:21 -0400, "John Luciani" <jluciani@xxxxxxxxx>
said:
> On 4/19/07, Transistor Toaster <transistortoaster@xxxxxxxxxxx> wrote:
> > Hello,
> > I created various symbols and saved them in the .sym file format with
> > the name-1.sym convention. They were created having 4 attributes:
> > refdes, footprint, description and device. When I place the components
> > in a brand new design.sch file, for HALF of them, the footprint and
> > refdes dissapear and I must add them manually. I can't figure out why.
> > Did anyone ever have this problem? How do I fix it?
>
> Check to see if attribute-promotion is enabled. It should be
> in your system-gschemrc file ---
>
> ; attribute-promotion string
> ;
> ; This keyword controls if attribute promotion occurs when you
> instanciate a
> ; component. Attribute promotion basically means that any floating
> attribute
> ; (unattached) which is inside a symbol gets "promoted" or attached to
> the
> ; newly inserted component. This only occurs when the component is
> ; instanciated.
>
> (attribute-promotion "enabled")
>
> (* jcl *)
>
>
> --
> http://www.luciani.org
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
--
Transistor Toaster
transistortoaster@xxxxxxxxxxx
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user