MicroStation CONNECT: Pen Table Macros

Written by Rod Wing

Support for the legacy MicroStation Basic macros has been removed in MicroStation CONNECT. This also means these macros can no longer be used in your MicroStation Pen Tables. In the Pen Table editor dialog some organizations define a MicroStation Basic macro in the Element Output Actions to make changes to specific elements at print time.

connect-print-macro-microstation plot


In MicroStation CONNECT this is no longer supported.


If you still require this kind of functionality there are two ways in which you get similar results:

  1. Create a VBA macro to replicate the functionality of the MicroStation Basic macro.
    The VBA macro will need to be executed prior to printing. If this needs to be done on multiple files prior to submission using Print Organizer you may use the Batch Processor to run the VBA macro on all of the affected files.
  2. Create an InterPlot Design Script.
    Use of Design Scripts with the MicroStation Print dialog was introduced in MicroStation V8i (SELECTseries 3). The Design Script language allows for extended resymbolization options beyond what is found in MicroStation Pen Tables. While not as powerful as a BASIC or VBA macro Design Scripts allow for things such as rescaling text and cells at print time. The advantage to using a Design Script over a macro is that any element modifications are only done on the printed elements in the printed output, the source elements in the design file are left unchanged. Documentation of the Design Script language can be found in the MicroStation Help.

Contact us to assist you in your transition to MicroStation CONNECT Edition.

Rod Wing

Rod Wing

Rod joined EnvisionCAD in March 2007 and has nearly three decades of experience working in the CADD industry. He led the IT evaluations of Bentley InRoads and AutoDesk Civil 3D at Wisconsin DOT in their overall CAiCE replacement evaluation. He also led the MicroStation V7 to V8 upgrade effort at Wisconsin DOT which included updating not only the CADD standards to accommodate the changes in the file format but also updating legacy MDL and macros to work in the new environment. Rod received a Bachelor of Science degree from the University of Wisconsin in Cartography and a Master of Science in Geographic and Cartographic Sciences from George Mason University. Rod has extensive experience in CADD as well as the areas of GIS, cartography, plotting, scanning, raster editing/manipulation, publishing, and file/data translations. In all of these areas, he has produced custom tools and developed workflows to enhance productivity between diverse sets of applications. He instructs MicroStation classes ranging from fundamentals to advanced applications.

Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *