Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
Printing and Plotting
  • Product Communities
  • MicroStation
  • Printing and Plotting
  • Cancel
Printing and Plotting
Printing and Plotting Wiki "invalid expression" when using "Named Expression" for Text Substitution
    • Sign In

     
     Questions about this article, topic, or product? Click here. 

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

    Applies To
    Product(s): MicroStation
    Version(s): 08.11.05.17
    Environment: N/A
    Area: Printing
    Subarea:
    Original Author: Ed Yepes, Bentley Technical Support Group

     

     

     

     

     

     

    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.

    • Printing
    • MicroStation
    • SELECTsupport
    • Problem Solving
    • Share
    • History
    • More
    • Cancel
    • Ed Yepes Created by Ed Yepes
    • When: Thu, Jan 16 2014 10:06 AM
    • Dawn Clark Gentry Last revision by Dawn Clark Gentry
    • When: Fri, Jan 24 2014 8:31 AM
    • Revisions: 3
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies