Tokens
A token is a word in curly braces that Vitreo fills in when it makes a name. {FileName}_{Date} gives Bracket_02-Jul-2026. In the file name editor you add tokens with the chips under Add to the file name:.
File name tokens
| Token | Chip | Gives | Used in |
|---|---|---|---|
| {FileName} | File name | The file name without extension. In a BOM, ERP or Pack and Go name: the level 0 item. | Export rules, quick export, BOM name, ERP file name, Pack and Go |
| {Config} | Configuration | The active configuration. Empty on a drawing. | Export rules, quick export |
| {Qty} | Quantity | The total quantity in the BOM. | Export rules for parts and assemblies, quick export |
| {Date} | Date | Today, in your Date Format. | Every name, also folder names |
| {Project} | Project | The name of the active project. | BOM name, ERP file name, Compare file name, Export project, Export settings |
| {Page} | Page | The name of the active page. | BOM name, ERP file name, Export page |
| {FileA}, {FileB} | File A, File B | The two items you compare. | Compare file name |
| {CutList} | Cut list name | The name of the cut list item. | Export rules for bodies |
| {BodyNr}, {BodyQty} | Body number, Body quantity | The number of the body, and how many there are. | Export rules for bodies |
| {Property:Name} | Other property... | The value of a custom property. | Every file name editor |
| {ConfigProperty:Name} | Other property... | The value of a configuration specific property. | Every file name editor |
Examples, for the part Bracket with configuration Default and the custom property Revision = B:
| Name | Gives |
|---|---|
| {FileName}_{Config} | Bracket_Default |
| {FileName}_{Property:Revision} | Bracket_B |
| {Project} settings {Date} | Project A settings 02-Jul-2026 |
Rules
- In export file names, a token without a value is left out together with one separator next to it. A_{Config}_B on a drawing gives A_B.
- Characters that Windows does not allow in a file name are removed.
- Typed text between the tokens is used as it is.
Other tokens
- ERP templates have their own, longer list. See ERP Tokens.
- The numbering system uses {Counter:5}, {Revision:A} and {Revision:01}. See Numbering System.
- The editor itself is explained in File Names and Tokens.