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 V8Area: File
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.TXTMicroStation 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 toDMSG APPENDMSGFILE Specifies point at which to start recording to fileDMSG CLOSEMSGFILE Stops recording and closes file