Altium Designer Documentation

ComponentLibraryGenerator

Parent page: FolderReleaser Commands

The following pre-packaged resource, derived from this base command, is available:


Applied Parameters: Context=Document

Summary

This command is used to access the Generate Component Libraries dialog, which can be used to generate one or more Component Libraries from the active Schematic Library, or Database Library document.

This feature is only available for standard Database Libraries (DbLibs). Component Libraries cannot be generated from SVN Database Libraries (SVNDbLibs).
If you are unfamiliar with vault-based component management in Altium Designer, a good place to start is the higher-level Working with Vault Components page, and its associated child pages.

Access

This command is accessed from the Schematic Library Editor, and Database Library Editor, by choosing the Tools » Generate Component Library command from the main menus.

Pre-Requisite Domain Models

Before you can delve into the process of creating a Component Library from the active Schematic Library, or Database Library, and releasing the component definitions therein to a vault, you must first ensure that all the models themselves - representing those components across the various required design domains - have been released. For board-level components this will generally be a case of schematic symbol and PCB 2D/3D component models, initially stored in one or more SchLibs and PcbLibs respectively.

For detailed information on the initial release of symbols and models to a vault, see Managed Schematic Symbols in an Altium Vault and Managed PCB Footprint Models in an Altium Vault respectively. If your components also include simulation models, information specific to release of this model type can be found in Managed Simulation Models in an Altium Vault.

Use

With the domain models migrated into the target vault, the Component Library can now be created.

After launching the command, the Generate Component Libraries dialog will appear. Each component definition is created based on a schematic component in the active Schematic Library (or a component record in the active Database Library), with links to relevant Schematic Symbol and PCB Component Items (hence the need to have released these first), as well as parametric data. Use the controls in the dialog to configure generation of one or more Component Libraries as required.

After defining all options as required, click OK. Generation will proceed and a confirmation dialog will appear when the process is complete. If generating a single CmpLib, and you have opted to do so, the file will be opened after generation.

Tips

  1. Parameters - additional to the default Comment and Description system parameters - are imported into the Component Library from the components in the source Schematic Library, or component records in the source Database Library, respectively. With a Databse Library, these are imported as static parameters, and should be reviewed and cleaned up as necessary, prior to release of the component definitions to the target vault.
  2. With the Component Library generated and open as the active document in the workspace, its constituent component definitions can be released to the target vault. To do so, simply use the File » Release To <TargetVaultName> command. You have complete control over which definitions get included in the release too.
  3. When generating Component Libraries from source Schematic Libraries, once you are familiar with the process of migrating single libraries to a target vault, you can boost productivity by releasing multiple libraries in batch-like fashion. This is performed using the Release Manager. This provides a centralized release 'console' with which to release multiple source elements, en-masse, including: PCB 2D/3D component models, schematic symbols, and component definitions, stored within one or more Schematic, PCB, or Component Libraries respectively.

 

Обнаружили проблему в этом документе? Выделите область и нажмите Ctrl+Enter, чтобы оповестить нас.

Связаться с нами

Связаться с нашими Представительствами напрямую

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
Вы сообщаете о проблеме, связанной со следующим выделенным текстом
и/или изображением в активном документе: