Output WindowThis is a featured page


Blade3D provides a way to view system messages through the Output Window. You can access the output window by clicking its tab at the bottom of the application.


Output Window - Blade3D


When you first start the application, you will see that the output window contains information about your system. For example what graphics card you are using or what the system capabilities are. Additionally, the output window displays system startup messages.


The output window could also be used to display user messages through script. For example you might want to see the value of properties as your script is running or output other debugging information.
This is done using the static methods on the XConsole class.


XConsole Methods
void Write(string message) Writes a message to the console
void WriteLine(string message) Writes a message to the console followed by a newline
void Write(string message, ConsoleFlags flags) Writes a message to the console with formatting options
void WriteLine(string message, ConsoleFlags flags) Writes a message to the console with formatting options followed by a newline
void Flush() Flushes the buffered output to the current console provider
string GetLog() Retrieves the master console log



Example:

XConsole.WriteLine("/MyModule/Scene : OnPropertyChanged");

The above line writes "/MyModule/Scene : OnPropertyChanged" in the output window.


Here's how you can write the system log to the output window:

XConsole.Write(XConsole.GetLog());


To clear or copy the text right click on the window and select the option from the context menu.


Output Window - Blade3D


Behnaz
Behnaz
Latest page update: made by Behnaz , Jun 7 2007, 5:08 PM EDT (about this update About This Update Behnaz Edited by Behnaz


view changes

- complete history)
Keyword tags: None
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.