Skip to content

Bug located in grpc layout_obj.py #1787

@chenchienjacklin

Description

@chenchienjacklin

Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

In DotNet API, _edb_rpoperties property is retrieved by SetProductSolverOption. GRPC API has an equivalent API, product_solver_option

Steps To Reproduce

Create a wave port with DotNet API

edb = Edb(edbpath=edb_project, version="2026.1", grpc=False)

primitives_ids = [path.id for path in edb.modeler.paths]
port1_pts = [path.center_line[0] for path in edb.modeler.paths]
port2_pts = [path.center_line[-1] for path in edb.modeler.paths]

edb.hfss.create_wave_port(prim_id=primitives_ids[1],
                          point_on_edge=port1_pts[0],
                          horizontal_extent_factor=1.5,
                          vertical_extent_factor=10
                          )
edb.save_as(r".\wave_ports_example_1.aedb")
edb.close()

Create a wave port with GRPC API

edb = Edb(edbpath=edb_project, version="2026.1", grpc=True)

primitives_ids = [path.id for path in edb.modeler.paths]
port1_pts = [path.center_line[0] for path in edb.modeler.paths]
port2_pts = [path.center_line[-1] for path in edb.modeler.paths]

edb.hfss.create_wave_port(prim_id=primitives_ids[1],
                          point_on_edge=port1_pts[0],
                          horizontal_extent_factor=1.5,
                          vertical_extent_factor=10
                          )
edb.save_as(r".\wave_ports_example_2.aedb")
edb.close()

With GRPC API, the wave port is not created correctly.

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

annotated-types==0.7.0
ansys-api-edb==0.2.1
ansys-edb-core==0.2.5
ansys-pythonnet==3.1.0rc6
ansys-tools-common==0.4.1
asgiref==3.11.0
certifi==2026.1.4
cffi==2.0.0
cfgv==3.5.0
charset-normalizer==3.4.4
click==8.3.1
clr_loader==0.2.10
colorama==0.4.6
contourpy==1.3.2
cycler==0.12.1
defusedxml==0.7.1
distlib==0.4.0
Django==5.2.10
ezdxf==1.4.3
filelock==3.20.3
fonttools==4.61.1
grpcio==1.76.0
identify==2.6.16
idna==3.11
kiwisolver==1.4.9
matplotlib==3.10.8
nodeenv==1.10.0
numpy==2.2.6
packaging==26.0
pandas==2.3.3
pillow==12.1.0
platformdirs==4.5.1
pre_commit==4.5.1
protobuf==4.25.8
psutil==7.2.1
pycparser==3.0
pydantic==2.12.5
pydantic_core==2.41.5
pyedb==0.67.3
pyparsing==3.3.2
python-dateutil==2.9.0.post0
pytz==2025.2
pywin32==311
PyYAML==6.0.3
requests==2.32.5
rtree==1.4.1
scikit-rf==1.9.0
scipy==1.15.3
scooby==0.11.0
shapely==2.1.2
six==1.17.0
sqlparse==0.5.5
toml==0.10.2
typing-inspection==0.4.2
typing_extensions==4.15.0
tzdata==2025.3
urllib3==2.6.3
virtualenv==20.36.1
xmltodict==1.0.2

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions