GetMessages

Get the messages from a specified project and design.

UI Access NA
Parameters
Name Type Description
<ProjectName> String Name of the project for which to collect messages. An incorrect project name results in no messages (design is ignored). An empty project name results in all messages (design is ignored)
<DesignName> String Name of the design in the named project for which to collect messages. An incorrect design name results in no messages for the named project. An empty design name results in all messages for the named project
<Severity> Integer

Severity is 0-3, and is tied in to info/warning/error/fatal types as follows:

  • 0 – info and above
  • 1 – warning and above
  • 2 – error and fatal
  • 3 – fatal only (rarely used)
Return Value  Array of string messages.

 

Python Syntax GetMessages (<ProjectName>, <DesignName>, <Severity>)
Python Example

Messages = oDesktop.GetMessages("MyProject", "HFSS1", 1)