Skip to content

Commit 49f1a85

Browse files
Release desktop
1 parent 24b130a commit 49f1a85

5 files changed

+6
-5
lines changed

examples/01-HFSS3DLayout/01_power_integrity.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207

208208
# ## Shut Down Electronics Desktop
209209

210-
h3d.close_desktop()
210+
h3d.release_desktop()
211211

212212
# All project files are saved in the folder ``temp_file.dir``. If you've run this example as a Jupyter notbook you
213213
# can retrieve those project files. The following cell removes all temporary files, including the project folder.

examples/01-HFSS3DLayout/02_dc_ir_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224

225225
# ## Shut Down Electronics Desktop
226226

227-
siw.close_desktop()
227+
siw.release_desktop()
228228

229229
# ## Cleanup
230230
#

examples/01-HFSS3DLayout/03_gui_manipulation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
# ## Close AEDT
7575

76-
h3d.close_project(save_project=True)
76+
h3d.release_desktop()
7777

7878
# ## Cleanup
7979
#

examples/01-HFSS3DLayout/04_pre_layout_sma_connector_on_pcb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297

298298
# ## Close HFSS 3D Layout
299299

300-
h3d.close_desktop()
300+
h3d.release_desktop()
301301

302302
# ## Cleanup
303303
#

examples/01-HFSS3DLayout/05_electrothermal_analysis.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from ansys.pyaedt.examples.constants import AEDT_VERSION
2626
from pyaedt.downloads import download_file
2727
from pyedb import Edb, Siwave
28+
from pyedb.generic.process import SiwaveSolve
2829

2930
NG_MODE = False
3031

@@ -147,6 +148,7 @@
147148
edbapp.configuration.run()
148149
edbapp.save()
149150
edbapp.close()
151+
time.sleep(3)
150152

151153
# The configured EDB file is saved in a temp folder.
152154

@@ -158,7 +160,6 @@
158160

159161
siwave = Siwave(specified_version=AEDT_VERSION)
160162
time.sleep(10)
161-
siwave.close_project()
162163
siwave.open_project(proj_path=aedb)
163164
siwave.save_project(projectpath=temp_folder.name, projectName="ansys")
164165

0 commit comments

Comments
 (0)