MicroStation Tip: Finding a Tool Key-in

At EnvisionCAD we provide training for CAD administrators and advanced users. As part of this instruction we cover building custom function key menus, tool boxes, menu bar options, task menus, batch scripts, and vba tools. All these usually require providing a MicroStation key-in to launch a MicroStation tool. This invariably leads to the question: “How do I find out what key-in to use for a command?”

MicroStation provides a few ways for you to find out:

  1. Search the Help Key-in Index
    One of the last items in the Help Contents is the Help Key-in Index. This index is a listing of available MicroStation Key-ins.
  2. Search the remainder of the Help documentation.
    In the description for each tool, the Key-in to launch that tool is also provided.
  3. Use the Named Expressions dialog
    Sometimes you can’t formulate your Help search correctly to return the right tool. Using this method allows you to graphically select the exact tool icon and report the correct command key-in.

    • Open the Named Expressions dialog
      • MicroStation V8i (SELECTseries):  Utilities > Named Expressions
      • MicroStation CONNECT:  Drawing > Utilities > Utilities > Named Expressions
    • In the expression listing in the left panel select CommandString (should be at or near the top)
    • Select the tool you are interested in
    • Click Test at the bottom of the Named Expressions dialog
    • The command string to launch the tool you selected will be displayed in the text field to the right of the Test button.

  4. Record a macro
    This method works best if you want to find the command strings for multiple commands at the same time.

    • Start the macro Recorder
    • Select the tools you are interested in
    • Stop recording when you are done
    • Open the macro editor to view the results
      • MicroStation V8i (SELECTseries) VBA editor
      • MicroStation CONNECT Macro editor

See more MicroStation Tips or dive deeper with Instructor-Led or Self-Paced Training.

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 *