Author Topic: Automating the creation of library components  (Read 1264 times)

0 Members and 1 Guest are viewing this topic.

Offline jmwTopic starter

  • Frequent Contributor
  • **
  • Posts: 296
  • Country: us
Automating the creation of library components
« on: August 22, 2019, 09:36:45 pm »
This applies to Circuit Studio also but I suspect there are more eyes in this forum: has anyone managed to script the creation of components? Like if I have a CSV spreadsheet of info about a manufacturer's line of 0603 resistors with manufacturer and supplier P/Ns, create schematic library components for each of them, and link them to my high, low, and nominal density footprints that I trust. Right now my libraries grow just-in-time with each new value I use. I would really love a better way with less time spent on repetitive library work.
 

Offline Pseudobyte

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: us
  • Embedded Systems Engineer / PCB Designer
Re: Automating the creation of library components
« Reply #1 on: August 26, 2019, 03:25:48 pm »
So with the component structure. You create symbols and footprints separately. You have the option to include parameter information with the symbol, however if you are looking to reuse that symbol for multiple resistors you don't include part information. Instead you create components directly from the line of your spreadsheet. When you pull a part from a component database you are merging a particular line of your spreadsheet with the symbol and footprint.


More information on the specifics can be found , not sure if the same feature set exists in circuit studio. https://www.altium.com/documentation/17.0/display/ADES/((Working+with+Database+Libraries))_AD

“They Don’t Think It Be Like It Is, But It Do”
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2721
  • Country: us
Re: Automating the creation of library components
« Reply #2 on: August 26, 2019, 10:11:24 pm »
DBLibs work well for this.  Define the footprint and symbol once, create as many database entries as you want to define different values (with whatever additional parameters you want) that reference those symbols.  You can still define components 'just-in-time' which is what I do and would recommend (why would you add a component you aren't using or don't specifically intend to use?), in which case you can simply duplicate the database line and edit whatever values you need to create the new component.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7117
  • Country: ca
  • Non-expert
Re: Automating the creation of library components
« Reply #3 on: August 26, 2019, 11:09:45 pm »
It looks like the AD documentation is quite good linked above. But for reference: https://www.eevblog.com/forum/altium/showing-the-footprint-name-on-the-schematic/msg2627130/#msg2627130

Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline ddavidebor

  • Super Contributor
  • ***
  • Posts: 1190
  • Country: gb
    • Smartbox AT
Re: Automating the creation of library components
« Reply #4 on: August 29, 2019, 01:21:29 pm »
Hello,
As AJB suggested dblibs are the way to go, it will be the easiest to manage. You can start doing them with an excel files, there are a few thread in this forum about it.

David - Professional Engineer - Medical Devices and Tablet Computers at Smartbox AT
Side businesses: Altium Industry Expert writer, http://fermium.ltd.uk (Scientific Equiment), http://chinesecleavers.co.uk (Cutlery),
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2420
  • Country: gb
Re: Automating the creation of library components
« Reply #5 on: August 29, 2019, 07:56:50 pm »
CircuitStudio doesn't support DBLibs so you need a friend with AD to convert them to IntLibs for you.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf