GRAPHISOFT®

Python APIVersion: 0.23 Beta

PrintWarning

Writes the given text to the interactive console as a warning. The text will be orange on a yellow background.

def PrintWarning (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")

 

Requirements

Version: Python API 0.1 or Later
Module: GS

 

See Also

Alert, PrintError

All functions