add_warning_message

AEDTMessageManager.add_warning_message(message_text, level=None)[source]

Add a type 1 “Warning” message to the Message Manager tree.

Also add a warning message to the logger if the handler is present.

Parameters
message_textstr

Text to display as the warning message.

levelstr, optional

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

Examples

Add a warning message to the AEDT Message Manager.

>>> hfss.logger.warning("Global warning message")