This isn't documented in the man page, but you need to create a file called 'attribs' in which you list the attributes that you want to end up in the bill of materials. For example, if you put:
refdes device value you'll get those 3 attributes in the BOM. -Dan On Sun, 29 Dec 2002, Bob Paddock wrote: > > I was trying to make a Bill of Materials but I must be doing some thing > wrong, what is the correct syntax for using gnetlist? > > $ man gnetlist... > 4) BOM / BOM2 - Bill of Materials (-g bom and -g > bom2)... > > $ gnetlist -g bom relays.sch > > gEDA/gnetlist version 20021103 > > Loading schematic [relays.sch] > ERROR: In procedure open-file: > ERROR: No such file or directory: "attribs" > > I tried it as -g BOM, because -g pcb does not work but -g PCB does, which gets > me this: > > $ gnetlist -g BOM relays.sch > gEDA/gnetlist version 20021103 > > Loading schematic [relays.sch] > Failed to read BOM scm file [/usr/local/share/gEDA/scheme/gnet-BOM.scm] > ERROR: Unbound variable: BOM > > -- > http://www.unusualresearch.com/ http://www.bpaddock.com/ >
