GRAPHISOFT®

Python APIVersion: 0.23 Beta

PrintError

Writes the given text to the interactive console as an error. The text will be red on a light red background.

def PrintError (text) -> None

 

Parameters

text
[in] A string to display in the console.

 

Return Values

This function does not have any return values.

 

Example

print ("Console Normal Output")
PrintWarning ("Console Warning Output")
PrintError ("Console Error Output")

 

Remarks

This functions does not modify the Python Interpreter's global error state, it's only for cosmetic uses.

 

Requirements

Version: Python API 0.1 or Later
Module: GS

 

See Also

Alert, PrintWarning

All functions