Console

The Console shows information about actions, which Plant Simulation executes. You can select which information the Console window shows under File > Preferences > User Interface > Console filter.

You can also select one or several of the filters for the current simulation model on the context menu of the Console window.

  • Print:

    To show output from print commands in Methods, select this command.

  • Info:

    To show text, which is displayed in info boxes, such as those shown during the reset and init phases of the model, select this. In addition, it includes warnings, for example when you use a no-longer-supported attribute in a method. When you start the program with the command-line parameter -NoWarning, it does not write any of the above to the Console.

  • Message:

    To show miscellaneous messages, select this command.

  • Debug:

    To show additional information and internal program messages, such as potential problems, select this. When you start the program with the command-line parameter -NoWarning, it does not write any of the above to the Console.

    Plant Simulation also counts all of the built-in objects, which are contained in the entire model, i.e., in the Class Library and in all Frames. It does not count these objects: Lists and Tables, Methods, Variables, MUs, and Connectors.

    You might want to know this number if you are working with a Plant Simulation Standard License which is limited to 4000 objects. SimTalk: numOfLimitedObjects

  • To record messages, display the Console by clicking on the Window ribbon tab. To not record messages, hide it.

  • To copy the contents of the Console window, select the text it contains and then select Copy.

  • To delete the contents of the Console window, select Clear.

  • To select the entire text in the Console window, select Select All.

  • To close the Console window, select Hide. To show it again, click on the Window ribbon tab.

  • To auto hide the Console, click . When you then click in another window, Plant Simulation hides the window until you move the mouse over the name of the window again. To deactivate auto hide, click .

When the Console window shows a path to an object, you can open this object by double-clicking the respective line.

Note:

The open Console window may slow down your simulation model!

Related Topics

Moving Docking Windows

setConsoleFilter

clearConsole

Entering Start Options, -Logfile File

closeConsole

Entering Start Options, -NoWarning

openConsole