Hi,
for creating plot files, I am using Print Organizer with custom file naming convetion. Print Organizer gets output file name from DGN Expression, which is shared in dgnlib file.
Expression is: System.Path.GetFileNameWithoutExtension (PrintDefinition.SourceFile) & "-" & PrintDefinition.FormName
I'd like to have Date Revised and Revised by somehow coded in output file name, like:
System.Path.GetFileNameWithoutExtension (PrintDefinition.SourceFile) & "-" & PrintDefinition.FormName - & "-" & RevisedDate & "-" & RevisedBy
is it possible to somehow use the data from Project Manager (in particular Date Revised and Revised by) in DGN Expression or directly in Print Organizer's Output file name?Variables mentioned are also not accesible through Options - Standards - Drawing Names Convention. But in fact I need that data only in names of plot files I prepare.
SW:Promise v8i SS8
Regards,Wojtek
Hi Wojtek,We are trying investigate your issue and get back to you soon.Regards,Avanti Khandalkar
Hi Wojtek,The Date Revised and Revised By variables are Page Description variables. Please refer the image below.So adding them in the expression System.Path.GetFileNameWithoutExtension (PrintDefinition.SourceFile) may not be possible.
WojtekM said:Variables mentioned are also not accesible through Options - Standards - Drawing Names Convention.
These variables are available in the Drawing Names Convention, but not as Date Revised and Revised By. They are available as, Page.Description_006 and Page.Description_007So you can make these variables' values available in the DGN name by using the expression as shown in image above. The result that you would get will be something as in the below image.Once the DGN name is as per your requirement, while creating the PDF, the same name can be carried forward.Regards,Sarvesh KulkarniProduct Engineer - Bentley Systems
Answer Verified By: WojtekM
Hi Sarvesh,
brilliant, thanks for that tip. I never would have come up with that different variable's names. For the future reference, could you point out where I can find all variables and meaning of them? I can't find them in help file.
Regards,
Wojtek
--
Best regards, Wojtek
SW: Promis.e 08.11.13.96/23.00.00.46
Hi Wojtek,
WojtekM said:For the future reference, could you point out where I can find all variables and meaning of them? I can't find them in help file.
If we take a look at the position, at which the Date Revised and Revised By variables occur under Page Descriptions it is 6th and 7th respectively.The variable Description which is at the first position under Page Descriptions is mapped to Page.Description_001, Date Drawn with Page.Description_002 and so on.So by using the Page.Description_006 and Page.Description_007 we can display the values associated with Date Revised and Revised By respectively. Regards,Sarvesh KulkarniProduct Engineer - Bentley Systems