"invalid expression" when using "Named Expression" for Text Substitution


 Product:MicroStation
 Version:V8i, CONNECT, 2023
 Environment:N\A
 Area:Printing and Plotting
 Subarea:N\A

Problem Description

In Print Organizer when I use a "Named Expression" in my pen table in the Text
Substitution Replacement field, I get the following plotted on the output:

invalid expression

the same Pen Table works from the Print dialog box

Steps to Resolve

Issue was caused by not defining the same arguments used to start MicroStation in the printing variable:
MS_PLT_ENGINE_CMDLINE_ARGS
Not having these arguments caused the .dgnlib which housed the “Named Expression” not to load
when the worker MicroStation was started hence the Named Expression was not being found.

See also

Other language sources

 Original Author:Ed Yepes