Skip to content

Commit

Permalink
Merge branch 'main' into release/0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed Feb 10, 2025
2 parents d497591 + 86c96df commit 42dbe50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ansys/aedt/toolkits/common/backend/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,8 @@ def connect_design(self, app_name: Optional[str] = None):
project_name = self.get_project_name(project_name)
active_design = design_name
if design_name in self.properties.design_list[project_name]:
if not self.desktop.odesktop.GetActiveProject(): # pragma: no cover
self.desktop.odesktop.SetActiveProject(project_name)
self.aedtapp = self.desktop[[project_name, design_name]]
if not self.aedtapp: # pragma: no cover
self.release_aedt(False, False)
Expand Down

0 comments on commit 42dbe50

Please sign in to comment.