Skip to content

Commit d047b04

Browse files
committed
Updated deprecated parameters
1 parent f6daa10 commit d047b04

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

examples/edb/use_configuration/post_layout_parametrize.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
# Note that there may be some delay while AEDT is being launched.
8181

8282
hfss = ansys.aedt.core.Hfss3dLayout(
83-
projectname=target_aedb,
84-
specified_version=edb_version,
83+
project_name=target_aedb,
84+
version=edb_version,
8585
non_graphical=False,
86-
new_desktop_session=True,
86+
new_desktop=True,
8787
)
8888

8989
# The following cell can be used to ensure that the design is valid for simulation.

examples/electrothermal/electrothermal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@
188188
#
189189
# Load EDB into SIwave.
190190

191-
siwave = Siwave(specified_version=AEDT_VERSION)
191+
siwave = Siwave(version=AEDT_VERSION)
192192
time.sleep(10)
193193
siwave.open_project(proj_path=aedb)
194-
siwave.save_project(projectpath=temp_folder.name, projectName="ansys")
194+
siwave.save_project(proj_path=temp_folder.name, projectName="ansys")
195195

196196
# ## Analyze
197197

examples/high_frequency/antenna/5G_antenna_parametrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ def points(self):
240240
# All commands can be run without the UI by changing the value of ``non_graphical``.
241241

242242
h3d = ansys.aedt.core.Hfss(
243-
projectname="Demo_3DComp",
244-
designname="Linear_Array",
245-
specified_version="2025.2",
246-
new_desktop_session=True,
243+
project="Demo_3DComp",
244+
design="Linear_Array",
245+
version="2025.2",
246+
new_desktop=True,
247247
non_graphical=non_graphical,
248248
close_on_exit=True,
249249
solution_type="Terminal",

examples/high_frequency/layout/signal_integrity/serdes_differential.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@
189189
aedt_version = edb_version
190190

191191
h3d = ansys.aedt.core.Hfss3dLayout(
192-
specified_version=aedt_version,
193-
projectname=target_aedb,
192+
version=aedt_version,
193+
project_name=target_aedb,
194194
non_graphical=False,
195-
new_desktop_session=False,
195+
new_desktop=False,
196196
)
197197

198198
# ## Analyze

0 commit comments

Comments
 (0)