Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki How to write output sent to "MicroStatio Text Window" or "Messages"
    • Sign in

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • -File Access - MicroStation
          • "MicroStation Problem Notification" error when opening up a DGN file
          • .dgn-compress/.dgn-uncompress extension
          • Can't open V7 file in MicroStation SE
          • Cannot start MicroStation, File Open dialog missing
          • Design file contains spaces in either the path or file name
          • Double clicking file from windows causes error
          • Error message "Error opening child window 14"
          • File Author changes depending on file creation method
          • How to Create a New DGN File From Windows Context Menu
          • How to write output sent to "MicroStatio Text Window" or "Messages"
          • HRESULT=80030003 Can't Create new file
          • Linked PDF's not opening
          • Microstation hangs when opening files by drag & drop or double clicking
          • Running verifydgn from Dos or Command Prompt
          • V7 error message "unable to open, not a design file" after opening in MicroStation V8.
          • When exiting Microstation, getting "Norton Antivirus- Malicious script" error.
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    How to write output sent to "MicroStatio Text Window" or "Messages"

       
      Applies To 
       
      Product(s): MICROSTATION, POWERDRAFT
      Version(s): N\A
      Environment:  N\A
      Area:  File
      Subarea:  N\A
      Original Author: Bentley Technical Support Group
       

    Problem

    How to write output sent to "MicroStation Text Window" or "Messages" window to an external file?--How to write output sent to "MicroStation Text Window" or "Messages" window to an external file?
    Product: MicroStation V8
    Area: File



    Solution

    If you have a need to capture (stream) all output sent to either the MicroStation debug/error window a.k.a. "MicroStation Text Window", or the MicroStation "Messages" window to an external text file you can use one of these approaches.

    MicroStation TextWindow
    ===================

    NOTE:

    MicroStation takes steps to ensure that there is only *one* error window per in stance of MicroStation (just in case a user asks why the window can not be closed). This procedure requires you to set the environment variables at the OS level. i.e. Setting these variables on the ustation command line using the -WSvariableName=value method will have no affect.

    - set MS_USECONSOLEROUTINES=0
    - set MS_CONSOLELOG=C:\DEBUGOUT.TXT


    MicroStation Message Window
    =======================

    Capturing the output of this window can be done in a more flexible and dynamic method using a combination of the following keyins:

    DMSG OPENMSGFILE Specifies file to capture DMSG messages to
    DMSG APPENDMSGFILE Specifies point at which to start recording to file
    DMSG CLOSEMSGFILE Stops recording and closes file



    See Also



    • Migrated
    • Message Centre
    • error message
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Elisabeth Pry Created by Bentley Colleague Elisabeth Pry
    • When: Mon, Aug 18 2014 10:25 AM
    • Judy Wong Last revision by Judy Wong
    • When: Wed, Oct 26 2016 5:20 AM
    • Revisions: 2
    • 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

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