Component Template Improvements
Contents
The arrival of Component Templates provided the ability to predefine settings for use by component definitions defined within Component Libraries referencing those templates. Now, with Altium Vault 2.6 and Altium Designer 16.0, the functionality of the component template has been greatly enhanced. These powerful improvements - including support for specific component types, unit-aware parameter data types, and definition of models - make the allure of using component templates ever more attractive.
Component Type Parameter
Related article: Explicit Component Types
This enhancement allows you to specify the type of component, through the ComponentType parameter. Simply click on the associated Default Value field, and then click the button to access the Component Type dialog. Use this to select the required type of component and click OK - the chosen type will be inserted as the value for the ComponentType parameter, back in the main parameters grid.
Unit-Aware Component Parameter Data Types
Main article: Unit-Aware Component Parameter Data Types
This enhancement allows you to define explicit data types for component parameters defined within a template. In addition, these data types are unit-aware, with a range of popular unit prefixes supported. As such, you can enter a parameter's value using a range of formats - such as 1V, 5V, 10V, 20V. The Altium Vault is engineered with the requisite smarts to recognize the numerical value behind those entries.
When adding a parameter to the template (click Add in the Parameters region), use the associated Type field to choose the required unit-aware data type from the drop-down.
Support for Domain Model Definition
This enhancement sees the addition of two more parameters, allowing you to specify default Schematic Symbol and PCB 2D/3D Component Model Items, respectively. Simply click on the associated Default Value field for each parameter, and then click the button to access a dialog with which to choose the required model Item.
System Parameters
This enhancement sees the ability to define the two system parameters - Comment and Description - as part of a template.
Additional Improvements
- When a new parameter is added to the template, its associated Visible option will be enabled by default - meaning that it will be shown as a column in the definitions region of a component library that references the parent template.
- If a Component Template is chosen at the folder level - for a folder of type altium-component-library - that same template will be used, by default, when Component Items are created in child sub-folders below. This facilitates quick template inheritance to all Items in child folders.
- Copy-Paste of multiple user parameters is now supported. Use standard Ctrl+click and Shift+click selection techniques to select the required parameters.