MicroStation CONNECT Edition Help

Predefined Expressions

Predefined expressions are delivered with the product and are visible in the Output File Name Expression, Default Print Definition Name Expression, and the Rename Print Definitions by Expression dialogs. Predefined expressions include the most common and frequently used expressions such as <model name>, <source file name>, and <sheet name>.

The following table displays the predefined expressions that are available for print definition names and an example of each. The results of these expressions assume the following: the source file name is "AR1.dgn," the model name is "ANSI D," and the sheet number is "000".

Predefined Print Definition Name Expressions Resulting Print Definition Name
<source file name> AR1
<model name> ANSI D
<source file name>-<model name> AR1–ANSI D
<sheet number> 000
<print counter>-<source file name> 001–AR1
<print counter>-<model name> 001–ANSI D
<print counter>-<source file name>-<model name> 001–AR1–ANSI D
<print counter>-<sheet number> 001–000

The following table displays the predefined expressions that are available for output file names and an example of each. The result of these expressions assume the following: the print set name is "plan set.pset," the printer driver configuration file is "pdf.pltcfg," the source file name is "AR1.dgn," the model name is "ANSI D," the date is "January, 31, 2014," the print definition name is "AR1," and the sheet number is "000".

You can include a counter as part of the output file name using either the <print counter> or <sequence> expression. Use <print counter> when you want the counter to represent the index number of the print definition in the print set. Use <sequence> when you want the counter to represent the position of the print definition within the collection of items currently being printed or previewed. When using <sequence>, the sequence number always begins with one regardless of the position of the print definition in its folder or in the print set. If you are using Variable print definitions, please see Guidelines for Using Page Numbering and Total Page Tokens With Variable Print Definitions.

Predefined Output File Name Expressions Resulting Output File Name
<print counter>-<print set name> 001–plan set.pdf
<print counter>-<print set name>-<source file name> 001–plan set-AR1.pdf
<print counter>-<print set name>-<model name> 001–plan set-ANSI D.pdf
<print counter>-<print set name>-<source file name>-<model name> 001–plan set-AR1-ANSI D.pdf
<print counter>-<print set name>-<sheet number> 001–plan set-000.pdf
<print counter>-<source file name> 001–AR1.pdf
<print counter>-<model name> 001–ANSI D.pdf
<print counter>-<source file name>-<model name> 001–AR1-ANSI D.pdf
<print counter>-<sheet number> 001–000.pdf
<sequence>-<print set name> 001–plan set.pdf
<sequence>-<source file name> 001–AR1.pdf
<sequence>-<source file name>-<model name> 001–AR1–ANSI D.pdf
<source file name> AR1.pdf
<model name> ANSI D.pdf
<source file name>-<model name> AR1-ANSI D.pdf
<sheet number> 000.pdf
<date>-<source file name> 20140131–AR1.pdf
<date>-<model name> 20140131–ANSI D.pdf
<date>-<source file name>-<model name> 20140131–AR1-ANSI D.pdf
<date>-<sheet number> 20140131–000.pdf
<print definition name> AR1.pdf
Note: The file extension comes from the .pltcfg file.