Test for scale in pentable

Hi Everyone,

    We have a workflow for legacy projects that goes like this...

Open file, place fence on sheet boundary 'ticks', open Print Dialog (ctrl+p), choose pltcfg, enter scale into Print Dialog, choose pen table (one of 3 that change the size of cells dependent on scale) as design script, print.

What I want to do is write a statement that will include all factors for the cells (instead of 3 files being chosen manually), test for the scale in the print dialog so so the cells scale correctly.  Can I get that information from the print dialog through a pen table?

Microstation v8i ss4 08.11.09.832

  • If I understand your question correctly it is not possible to do what you want through just through the print dialog and/or a pen table. Print Styles may help with some parts, but not all of it. 

    There are two things you can do to help do what you want:

    1. Automate printing through a VBA or command file.
      In either type of file you can send the key-in DIALOG PLOT. This will open the Print dialog and also enable all of the PRINT key-ins. Using these key-ins you can set most of the print dialog fields.



    2. Create a DesignScript to read the active print scale value and scale the cells accordingly when printed.
      In the DesignScript language there is an IP_SCALE keyword that returns the active plot scale. You can then test that value and apply the appropriate scale to Cells using the SCALE keyword.

      More info can be found in the help.


    Rod Wing
    Senior Systems Analyst