Skip to content
Draft
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ca57742
Add WavePortObject class
eblanco-ansys Sep 1, 2025
4d1264e
Use WavePortObject for waveports
eblanco-ansys Sep 1, 2025
363abb2
CHORE: Auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 1, 2025
f6a330d
chore: adding changelog file 6595.added.md [dependabot-skip]
pyansys-ci-bot Sep 2, 2025
0d21f95
Added set mode polarity using integration lines
eblanco-ansys Sep 2, 2025
836fb27
Add filter mode reporter property + specify wave direction
eblanco-ansys Sep 2, 2025
842b891
Merge branch 'feat/waveport_object_alignment' of https://github.com/a…
eblanco-ansys Sep 2, 2025
92c1242
CHORE: Auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 2, 2025
c31e54f
Added properties
eblanco-ansys Sep 3, 2025
0327f47
Added tests
eblanco-ansys Sep 3, 2025
8c75251
Merge branch 'feat/waveport_object_alignment' of https://github.com/a…
eblanco-ansys Sep 3, 2025
53411f6
Merge branch 'main' into feat/waveport_object_alignment
eblanco-ansys Sep 3, 2025
0291e36
CHORE: Auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 3, 2025
509f780
Merge branch 'main' into feat/waveport_object_alignment
eblanco-ansys Sep 3, 2025
dc9160b
Fixed line issue
eblanco-ansys Sep 3, 2025
78a2e17
CHORE: Auto fixes from pre-commit hooks
pre-commit-ci[bot] Sep 3, 2025
19bdf2e
chore: adding changelog file 6595.added.md [dependabot-skip]
pyansys-ci-bot Sep 3, 2025
1bb0a56
Merge branch 'main' into feat/waveport_object_alignment
eblanco-ansys Sep 5, 2025
c9a41c8
Merge branch 'main' into feat/waveport_object_alignment
eblanco-ansys Sep 5, 2025
c50212e
Tests run in one single HFSS design
eblanco-ansys Sep 5, 2025
eb8098f
Fixed waveguide orientation
eblanco-ansys Sep 5, 2025
ffe8efe
Merge branch 'main' into feat/waveport_object_alignment
eblanco-ansys Sep 5, 2025
8231a9f
Add Enum
Samuelopez-ansys Sep 16, 2025
2bee40c
Merge branch 'main' into feat/waveport_object_alignment
Samuelopez-ansys Sep 16, 2025
94f5969
Fix Waveport
Samuelopez-ansys Sep 16, 2025
ba441ab
Fix some properties
Samuelopez-ansys Sep 17, 2025
78ca59b
Fix some properties
Samuelopez-ansys Sep 17, 2025
d68a10c
Merge branch 'main' into feat/waveport_object_alignment
eblanco-ansys Oct 28, 2025
bb72ad2
CHORE: Auto fixes from pre-commit hooks
pre-commit-ci[bot] Oct 28, 2025
ad5cdcc
Minor fixes
eblanco-ansys Oct 28, 2025
e7a7c5a
CHORE: Auto fixes from pre-commit hooks
pre-commit-ci[bot] Oct 28, 2025
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
1 change: 1 addition & 0 deletions doc/changelog.d/6595.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Waveport object advanced config
15 changes: 15 additions & 0 deletions src/ansys/aedt/core/hfss.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
from ansys.aedt.core.generic.numbers_utils import is_number
from ansys.aedt.core.generic.settings import settings
from ansys.aedt.core.internal.errors import AEDTRuntimeError
from ansys.aedt.core.internal.errors import GrpcApiError
from ansys.aedt.core.mixins import CreateBoundaryMixin
from ansys.aedt.core.modeler import cad
from ansys.aedt.core.modeler.cad.component_array import ComponentArray
Expand All @@ -56,6 +57,7 @@
from ansys.aedt.core.modules.boundary.common import BoundaryObject
from ansys.aedt.core.modules.boundary.hfss_boundary import FarFieldSetup
from ansys.aedt.core.modules.boundary.hfss_boundary import NearFieldSetup
from ansys.aedt.core.modules.boundary.hfss_boundary import WavePortObject
from ansys.aedt.core.modules.boundary.layout_boundary import NativeComponentObject
from ansys.aedt.core.modules.setup_templates import SetupKeys

Expand Down Expand Up @@ -240,6 +242,19 @@ def _init_from_design(self, *args, **kwargs):
@pyaedt_function_handler
# NOTE: Extend Mixin behaviour to handle near field setups
def _create_boundary(self, name, props, boundary_type):
# Wave Port cases - return specialized WavePortObject
if boundary_type == "Wave Port":
try:
bound = WavePortObject(self, name, props, boundary_type)
if not bound.create():
raise AEDTRuntimeError(f"Failed to create boundary {boundary_type} {name}")

self._boundaries[bound.name] = bound
self.logger.info(f"Boundary {boundary_type} {name} has been created.")
return bound
except GrpcApiError as e:
raise AEDTRuntimeError(f"Failed to create boundary {boundary_type} {name}") from e

# No-near field cases
if boundary_type not in (
"NearFieldSphere",
Expand Down
Loading
Loading