How do people organise their schematic libraries?
For instance- a resistor do you create a generic symbol with no value/tolerance and then add the different footprints to that one symbol then in the schematic add the value/tolerance and select the appropriate footprint?
I was just wondering which way is best for easy of use/reducing repetition/ease of creating BOM
If you want to be able to use the automatically generated BOMs, then you need to have a separate library entry for each resistor value, and then duplicate that for each type of size/form factor, power handling capability, type, etc. It seems cumbersome, but altium does have a way to help you with this.
- In a fresh library, create one part with all the parameters you want, including manufacturer, links to references (manufacturer web links, datasheets, etc.), part number, value, etc.
- Go to Tools->Parameter editor. You will see a spreadsheet of all the parameters.
- Select all, then copy
- Paste into Excel
- Cut the row, then paste it over the next few hundred rows
- Generate all the E96 values using the formula 10^(d+(n-1)/96) where d is the decade, and n is a number from 0 to 95; for E24 values, you'd use 24 and 0-23 instead. You can generate these in Excel, if you're good with Excel, or generate them using BASIC, Perl, Python, etc, and print them out, importing into excel, then cut&paste. Use these generated values to fill in the "value" and "part number" fields in the spreadsheet.
- Cut the whole lot, and paste into the parameter editor.
-Save the library.
-Copy the library
-for each new library (different sizes, etc.) you can cut & paste manufacturer info, reference info, and part numbers. Some of this may be as simple as using the search-and-replace function in excel to change part number strings.
Kind of a pain, but worth it if you're using lots of values. You'll thank yourself every time you simple have the part you need to place, or when your automatically generated BOM's are viable. One of the huge reasons I moved from Eagle to Altium was because I was spending way too much time on my BOMs, and it was hard to keep the BOM in sync with designs, and any little BOM fix for one project would have to be replicated for every project.
If you're not making a company library, and you use the same (not too numerous) values over and over, a reasonable approach would be to just start with one good resistor, then copy it and edit the values for each new resistor you place, until you build up a nice arsenal. If you are doing a lot of values at once, though, you really want to use the parameter editor.
Dave