You are currently reviewing an older revision of this page.
Original Article Date: Jan 28, 2003
Ever wondered how to save those MicroStation Messages when the Dialog Debugger is enabled? Take a peek at this article to learn the keyins needed. Way Cool!
Ever wondered how to save those MicroStation Messages when the Dialog Debugger is enabled? Take a peek at this article to learn the keyins needed. Way Cool! With thanks to Bentley's Chris Marks for sharing this information! Many times when you're trying to diagnose a problem, (or simply just attempting to output a dialog's resource ID number), you'll use the keyin dmsg dialogdebug on to display any messages that may be generated.
So, have you ever wondered how you can output the messages from the message box shown above to a text file? Take a look at the following set of keyins...they may be just what you're looking for! DMSG OPENMSGFILE drive:\path\output.txt Creates an empty text file that will be used to recieve the messages. The sucessful creation of this file is reported on the right side of the status bar. DMSG APPENDMSGFILE drive:\path\output.txt Specifies the point at which to start recording to the output file. DMSG CLOSEMSGFILE Stops recording and closes the output file. The end result is a text file that contains the messages as recorded by the DialogDebugger. Note that there are no "carriage returns"....all the data is captured as one huge text string.
To remedy this, simply open the text file in Excel and all will be well.
For further information on using this keyin to get dialog box resource numbers, please refer to: Using keyins to toggle dialogs and toolboxes! .