This module is contained inside the FreeCAD module and contains methods to send text to FreeCAD's output console and status bar. The messages will have different color if they are message, warning or error.
Example:
import FreeCAD
FreeCAD.Console.PrintMessage("Hello World!\n")
Description: Get the status for either Log, Msg, Wrn or Error for an observer
Returns: a status string.
Description: Prints an error message to the output
Returns: nothing
Description: Prints a log message to the output
Returns: nothing
Description: Prints a message to the output
Returns: nothing
Description: Prints a warning to the output
Returns: nothing
Description: Set the stats for either Log, Msg, Wrn or Error for an observer
Returns:
This page is retrieved from https://wiki.freecad.org/Console_API