[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: (hierarchy-uref-mangle "disabled") doesn't seem to work when generting a bom
Hi all
I resolved this issue (given enough time even a monkey can solve his
problems!). I'm posting just for future reference.
I was using
(hierarchy-uref-separator "_")
instead of
(hierarchy-uref-separator "/")
The separator appears to be important even if it is disabled by
(hierarchy-uref-mangle "disabled")
By keeping the separator as a "/" everything works.
I was also wrong to say that the operation was different for gnetlist
and gsch2pcb. The operation appears to be the same.
On Thu, 2010-09-02 at 15:40 -0500, Mike Crowe wrote:
> Hello group
>
> I am doing my first hierarchial design. In my local gnetlistrc I have
> (hierarchy-uref-mangle "disabled") un-commented as I don't want the Sn_
> in the front of the uref.
>
> gsch2pcb does what I desire and correctly drops the "Sn_" prefix.
>
> When generating a bom. The prefix is not dropped which is NOT what I
> want.
>
> If I change from
> (hierarchy-uref-order "append")
> to
> (hierarchy-uref-order "prepend")
>
> The Sn_ value is placed at the end, so gnetlistrc seem to be picked up,
> but I'm not sure where as I don't see it in the .scm that I'm using.
>
> My command line syntax is
> gnetlist -g xmlbom circuit.sch -o circuit-bom.xml
>
> I tried the nomunge option, but it didn't seem to have any effect.
>
> gnetlist --nomunge -g xmlbom circuit.sch -o circuit-bom.xml
>
> Yes, I am using a scheme that I hacked from gnet-bom(2?).scm (see
> attached). So I'm probably at fault, but I don't know where.
>
> Could anyone give me some pointers as to what I'm doing wrong?
>
> Thanks in advance
> Mike
>
>
>
>
>
>
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user