add_info_message#

Maxwell3d.add_info_message(text, level=None)[source]#

Add a type 0 “Info” message to either the global, active project, or active design level of the message manager tree.

Also add an “Info” message to the logger if the handler is present.

Parameters:
textstr

Text to display as the info message.

levelstr, optional

Level to add the “Info” message to. Options are "Global", "Project", and "Design". The default is None, in which case the “Info” message gets added to the "Design" level.

Returns:
bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss()
>>> hfss.logger.info("Global info message")
>>> hfss.logger.project_logger.info("Project info message")
>>> hfss.logger.design_logger.info("Design info message")