Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ Usage examples follow.
from ansys.aedt.core import Desktop, Circuit

with Desktop(
specified_version="2022.2",
version="2022.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
):
Expand All @@ -259,7 +259,7 @@ with Desktop(

from ansys.aedt.core import Circuit

with Circuit(specified_version="2022.2", non_graphical=False) as circuit:
with Circuit(version="2022.2", non_graphical=False) as circuit:
...
# Any error here will be caught by Desktop.
...
Expand Down
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ pip install pyaedt[all]
from ansys.aedt.core import Desktop, Circuit

with Desktop(
specified_version="2022.2",
version="2022.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
):
Expand All @@ -156,7 +156,7 @@ with Desktop(

from ansys.aedt.core import Circuit

with Circuit(specified_version="2022.2", non_graphical=False) as circuit:
with Circuit(version="2022.2", non_graphical=False) as circuit:
...
# Any error here will be caught by Desktop.
...
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/7279.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update parameter names from 'specified_version' to 'version' in multiple files
8 changes: 4 additions & 4 deletions doc/source/API/Application.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Example with ``Desktop`` class explicit initialization:
from ansys.aedt.core import launch_desktop, Circuit

d = launch_desktop(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand All @@ -59,9 +59,9 @@ Example with ``Desktop`` class implicit initialization:
from ansys.aedt.core import Circuit

circuit = Circuit(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
18 changes: 9 additions & 9 deletions doc/source/API/CableModeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Cable bundle creation example:
from ansys.aedt.core.modules.cable_modeling import Cable

hfss = Hfss(
projectname=project_path,
specified_version="2025.2",
project=project_path,
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -76,10 +76,10 @@ Clock source creation example:
from ansys.aedt.core.modules.cable_modeling import Cable

hfss = Hfss(
projectname=project_path,
specified_version="2025.2",
project=project_path,
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -127,10 +127,10 @@ Cable harness creation example:
from ansys.aedt.core.modules.cable_modeling import Cable

hfss = Hfss(
projectname=project_path,
specified_version="2025.2",
project=project_path,
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
6 changes: 3 additions & 3 deletions doc/source/API/Configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ the boundary fails to apply.
from ansys.aedt.core import Hfss

app = Hfss(
project_name="original_project",
specified_version="2025.2",
project="original_project",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/API/MaterialManagement.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ This section describes all material-related classes and methods.
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/API/Mesh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ They are accessible through the mesh property:
from ansys.aedt.core import Maxwell3d

app = Maxwell3d(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/API/Optimetrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ optimetrics setups.
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
12 changes: 6 additions & 6 deletions doc/source/API/Primitive_Objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ They are accessible through the ``modeler.objects`` property:
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -79,9 +79,9 @@ They contain all getters and setters to simplify object manipulation.
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -129,9 +129,9 @@ imported and used because it is made by static methods.
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
8 changes: 4 additions & 4 deletions doc/source/API/Primitives2D.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ They are accessible through the ``modeler`` property:
from ansys.aedt.core import Maxwell2d

app = Maxwell2d(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -45,9 +45,9 @@ modeler, including all primitives methods and properties:
from ansys.aedt.core import Maxwell2d

app = Maxwell2d(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
8 changes: 4 additions & 4 deletions doc/source/API/Primitives3D.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ They are accessible through the ``modeler`` property:
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -68,9 +68,9 @@ modeler, including all primitives methods and properties for HFSS, Maxwell 3D, Q
from ansys.aedt.core import Circuit

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/API/Primitives3DLayout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ They contain all getters and setters to simplify object manipulation.
from ansys.aedt.core import Hfss3dLayout

app = Hfss3dLayout(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
16 changes: 8 additions & 8 deletions doc/source/API/PrimitivesCircuit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ They are accessible through the ``modeler`` module and ``modeler.objects`` prope
from ansys.aedt.core import TwinBuilder

app = TwinBuilder(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -69,9 +69,9 @@ They contain all getters and setters to simplify object manipulation.
from ansys.aedt.core import Circuit

app = Circuit(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -103,9 +103,9 @@ They contain all getters and setters to simplify object manipulation.
from ansys.aedt.core import Circuit

app = Circuit(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -157,9 +157,9 @@ They contain all getters and setters to simplify object manipulation.
from ansys.aedt.core import TwinBuilder

app = TwinBuilder(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/API/Setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ The ``Setup`` object is accessible through the ``create_setup`` method and ``set
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
4 changes: 2 additions & 2 deletions doc/source/API/Variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ design and project variables in the 3D tools.
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
8 changes: 4 additions & 4 deletions doc/source/API/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ Example with ``Desktop`` class explicit initialization:
from ansys.aedt.core import launch_desktop, Circuit

d = launch_desktop(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand All @@ -70,9 +70,9 @@ Example with ``Desktop`` class implicit initialization:
from ansys.aedt.core import Circuit

circuit = Circuit(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down
10 changes: 5 additions & 5 deletions doc/source/API/visualization/post.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ You can access these classes directly from the design object:
from ansys.aedt.core import Hfss

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -105,9 +105,9 @@ User can get the properties of the default reports using the following class:
from ansys.aedt.core.visualization.post.common import Reports

app = Hfss(
specified_version="2025.2",
version="2025.2",
non_graphical=False,
new_desktop_session=True,
new_desktop=True,
close_on_exit=True,
student_version=False,
)
Expand Down Expand Up @@ -148,7 +148,7 @@ The following classes manage all aspects of AEDT 3D post-processing and are util

from ansys.aedt.core import Hfss

app = Hfss(specified_version="2025.2", non_graphical=False, new_desktop_session=False)
app = Hfss(version="2025.2", non_graphical=False, new_desktop=False)
test_points = [
["0mm", "0mm", "0mm"],
["100mm", "20mm", "0mm"],
Expand Down
Loading
Loading