Hiya everybody,
I'm trying to figure out if I have missed something obvious...
I have a multi-sheet design, and I'm trying to get a separate bill of materials for each sheet of that design. (It's a DIY project, and I want to say in the instructions, "collect all the parts for the PSU".) In the past, when there were only a couple sheets, I would delete everything except for the sheet I was working with and use the ULP to output the BOM for what remained. Now that I have 18 sheets in my project that is a bit less convenient...
I think I have two options to fix this. 1) Add an attribute to every part and use my BOM spreadsheet to sort them, and 2) Modify the BOM ULP to list parts by schematic sheet. Are there other options that I should consider?
I have tried setting attributes, but so far, I have only been able to add them globally or to each part individually. I have about 1100 parts, so I'm trying not to have to add attributes to each part one at a time! I tried the group command, selected everything on a sheet and then tried to use the attribute command line, but when I typed "attr SECTION 'PSU'" that gave me an invalid part or gate error. I also tried grouping and then "attr * SECTION 'PSU'", but that set a global attribute. Is it possible to add an attribute to a group of parts or is it only possible to set a global or individual part attribute one at a time?
I'm starting to learn how to program a ULP (attended the webinar about ULPs yesterday, thanks Ed) but I haven't gotten very far yet and impatience has started to rear it's ugly head...
Thanks,
Doug