Using PDF.PLTCFG I would like to be able to include the revision number of the file in the output file name. As an example the file is named "File 1.dgn" I would like the output file name to read "File 1-Revision xx.PDF".
You would need to create a Named Expression in order to retrieve the Revision Number from the MicroStation file.To create the Named Expression in MicroStation open a .dgnlib file used in your project or create a new file. Make sure to add to your MicroStation MS_DGNLIBLIST variable if you are adding a new file.Open Print OrganizerIn the MicroStation pull down menus go to Utilities->Named ExpressionsClick on the "New" iconEnter an Internal and External Name (recommend you use the same name). You will need to remember the "External Name"Select Print Set Under "Keywords"Under Symbol Sets, Add the following: Active File, System.Path, Print Definition, Print SetPlace the following under ExpressionSystem.Path.GetFileNameWithoutExtension (PrintDefinition.SourceFile) & "-Revision " & ActiveFile.RevisionNumberSave ExpressionClose the GUINow we need to modify your Printer Driver Configuration file PDF.PLTCFGOpen Print Dialog box. Select File->Edit Printer Driver Configuration FileSelect the Base Properties TabExpand "Default Print File Name"In the "File Name" field enter $(MS_PLTFILE)<expr?name=FileName RevisionNumber>Note: For those who cannot see anything after $(MS_PLTFILE) it should read:ltexpr?name=FileName RevisionNumbergtwhere the first two letter stand for the "less than" symbol and the last two letters are for "greater than"Save and reload Printer Driver Configuration file. Now every time user uses this .pltcfg he will get the revision of the design file in the PDF file name.You can get more information at the following Be Communities page:http://communities.bentley.com/other/old_site_member_blogs/bentley_employees/b/andrew_edges_blog/archive/2008/07/20/tutorial_3a00_-including-the-date-in-print-output-file-names.aspx