Plotter Driver Variables Explanation Needed

 Two Questions 

  1. Microstation Plotter Driver Accessible Variables
    I am in a commonly used Plotter Driver at work when I notice the following lines commented out.
    ; To configure a default output file name comment out the default_extension
    ; line above and uncomment this line. "lpt1" may be substituted with any
    ; desired filename - e.g. "$(MS_PLTFILES)plotfile.000"
    Being a programmer I recognize a variable when I see one... $(MS_PLTFILES) is a variable. Where can I get a list of other variables and what they mean?
  2. Auto-Naming Variable Using Naming Convention
    I would like to generate a FileName that is based on the currently open files name. Are there variables that can be edited and manipulated within the Plotter Driver files that would allow this? For instance... Our system is setup so that our disciplines are named 00000XX.dgn (Stormwater Page 123 = 00123sd.dgn, Water Page 123 = 00123wa.dgn, etc). When we go to print a discipline page we open a border page that uses the following naming convention, XXbdr.dgn (Border Page 123 = 123bdr.dgn, Border Page 12 = 12bdr.dgn, etc.). When I open the Border Page and print an LRG file for our 510 Plotter, I have to name the created LRG file like so ( Border Page for Stormwater 123 = 00123sd.lrg, Border Page for Water 12 = 00012wa.lrg, etc ). Is it possible to generate some variables that would create this naming convention for me depending on which Plotter Driver was selected?
Parents
  • The first question relates to configuration and print accounting variables. Both are accessible from Workspace > Configuration... (the latter after doing a File > Print). The descriptions of those variables will be in the Description area of the Configuration dialog box after you select the respective configuration variable.

    For the second question, it is unclear if you are looking to change the filename as opposed to using the exact filename. For the latter, you might want to take a look at using:

    "$(basename(_DGNFILE)).LRG"


    for your default_outFile... statement in the PLT file you are using.

    BTW, it might be better to post one inquiry per thread... we have found that makes it easier to follow (and find) specific topics.

      

Reply
  • The first question relates to configuration and print accounting variables. Both are accessible from Workspace > Configuration... (the latter after doing a File > Print). The descriptions of those variables will be in the Description area of the Configuration dialog box after you select the respective configuration variable.

    For the second question, it is unclear if you are looking to change the filename as opposed to using the exact filename. For the latter, you might want to take a look at using:

    "$(basename(_DGNFILE)).LRG"


    for your default_outFile... statement in the PLT file you are using.

    BTW, it might be better to post one inquiry per thread... we have found that makes it easier to follow (and find) specific topics.

      

Children
No Data