Component Name Template
This document is no longer available beyond version 21. Information can now be found here: Component Name Templates for version 25
Summary
The Component Editor (in its Batch Component Editing mode only) provides support for the use of parameter-based Component Name Templates. Such templates allow you to precisely name, or rather rename your components - their Item ID - based on the currently defined values of parameters (user/template parameters - not system parameters) available to those components in the editor. Use the Component Name Template dialog to define your naming template as required.
Access
Access to the dialog is made from within the Component Editor, when operating in its Batch Component Editing mode. Select the component(s) to be renamed (in the area for component definitions at the bottom of the view), right-click, and choose the Operations » Rename Component (Operations » Rename n Components) command from the context menu.
Options/Controls
- Initial Index - use this field to specify the starting index for the components that are being renamed using the defined naming scheme, and where an iterator macro has been added to the template.
- Naming Scheme - use this field to define your naming scheme. Include a parameter into the naming template using the format [<ParameterName>]. Examples might be:
- CMP-[Value]
- CMP-[Part Number]
- [Part Number]-[Value]
- [Value]
- [Part Number]
-
You can also use multiple parametric declarations in your templates, for example:
- CMP-[Part Number]-[Value]
- CMP-[Manufacturer Part Number]-[Value]-[Tolerance]
In addition, and purely optional, you can also add an iterator macro, specified within curly braces (e.g., {000}, {00A}), for example:
- CMP-[Value]-{001}
- CMP-[Part Number]-{00A}
You can then control the starting point of that iterator by defining the required value in the Initial Index field.