What options are there for displaying Python script output in UDE®?

Python script outputs in UDE® can be executed in different ways:

  • Python script console
  • Console View
  • Message View

Examples

  >>> # Output into the Python script console
  >>> print("Hello, Python !")

  >>> # Output into the Console view
  >>> UDEWorkspace.GetActiveCoreDebugger().ConOutput("Hello, Python !\n")

  >>> # Output into the Message view
  >>> UDEWorkspace.MessageLog.LogUser("Hello, Python !")

For more information about the usage of the UDE® COM object model see the hints in the FAQ How do I access to UDE® using the Python script interpreter.