Skip to content

Commit

Permalink
fix message logging in non graph (#3739)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmalinve authored Oct 12, 2023
1 parent 74d76c6 commit 55d0ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaedt/aedt_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def get_messages(self, project_name=None, design_name=None, level=0, aedt_messag
"""
project_name = project_name or self._project_name
design_name = design_name or self._design_name
if self._log_on_desktop or aedt_messages:
if aedt_messages and self._desktop.GetVersion() > "2022.2":
global_message_data = self._desktop.GetMessages("", "", level)
# if a 3d component is open, GetMessages without the project name argument returns messages with
# "(3D Component)" appended to project name
Expand Down

0 comments on commit 55d0ba4

Please sign in to comment.