get_messages#

AedtLogger.get_messages(project_name=None, design_name=None, level=0, aedt_messages=False)[source]#

Get the message manager content for a specified project and design.

If the specified project and design names are invalid, they are ignored.

Parameters:
project_namestr

Name of the project to read messages from. Leave empty string to get Desktop level messages.

design_namestr

Name of the design to read messages from. Leave empty string to get Desktop level messages.

levelint

Level of messages to read. 0 – info and above, 1 – warning and above, 2 – error and fatal

aedt_messagesbool

Read content of message manager even if logger is disabled.

Returns:
list of str

List of messages for the specified project and design.