Would it be possible for me to use a pen table, text substitution, named expression combination in order to text substitute the windows short path of the dgn location I am printing from?
If possible, I would like text substitution result to look something similar to:C:\PROGRA~2\MICROS~2\Office15\INFOPA~1\INFOPA~3\INFOPA~1\dgnnumber.dgn
I have limited space available for the path, in the border (dictated by client standards), and my companies standards make the path quite long.To add an additional wrinkle, the files are located on a network drive.
Unfortunately, FileL , FileA , and FileSdo not give me the results I am looking for.I am definitely open to alternative suggestions, but If possible I would like to avoid VBA to avoid software changes outside of MicroStation effecting functionality.
The closest answer I have come up with is to truncate the path using this named expression:
IIf (System.String.Length (PrintDefinition.SourceFile) > 70, System.String.Substring (PrintDefinition.SourceFile, System.String.Length (PrintDefinition.SourceFile) - 70, -1),PrintDefinition.SourceFile)
But the above has the drawbacks of loosing critical drive location information on the left end of the path.
Currently, we are using MicroStation V8i (SELECTseries 3) - Version 08.11.09.459
Thanks for your help in advance,