Skip to content

extend post.create_report() capability to Q3D EM Field Setup results #6446

@tizianrot

Description

@tizianrot

Before submitting the issue

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

Description of the bug

The method like:

my_plots = q3d.post.create_report(expressions="re(EY)",variations= variations, primary_sweep_variable="NormalizedDistance",report_category="Static EM Fields",plot_type="Rectangular Plot", context="Line1",plot_name ="my_plot")

has been implemented on HFSS APIs with "Distance" hard coded instead of "NormalizedDistance", which is the default for Q3D Static EM Fields Reports (i.e.) on lines. So reports are created, but with the wrong variables.

Steps To Reproduce

  • have a Q3D project setup with a Polyline
  • create EM fields Setup on that polyline
  • run the method q3d.post.create_report()

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

annotated-types==0.7.0
ansys-pythonnet==3.1.0rc4
attrs==24.2.0
certifi==2024.12.14
cffi==1.17.1
charset-normalizer==3.4.1
clr_loader==0.2.7.post0
contourpy==1.3.1
cycler==0.12.1
defusedxml==0.7.1
fonttools==4.55.3
fpdf2==2.8.2
grpcio==1.70.0
idna==3.10
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
kiwisolver==1.4.8
matplotlib==3.10.0
numpy==2.2.4
packaging==24.2
pandas==2.2.3
pillow==11.2.1
platformdirs==4.3.6
plumbum==1.9.0
pooch==1.8.2
psutil==6.1.0
pyaedt==0.17.2
pycparser==2.22
pydantic==2.9.2
pydantic_core==2.23.4
pyedb==0.34.3
pyparsing==3.2.1
python-dateutil==2.9.0.post0
pytz==2024.2
pyvista==0.44.2
pywin32==308
PyYAML==6.0.2
referencing==0.35.1
requests==2.32.3
rpds-py==0.22.3
rpyc==6.0.1
Rtree==1.3.0
scikit-rf==1.5.0
scipy==1.14.1
scooby==0.10.0
six==1.17.0
toml==0.10.2
tomli==2.2.1
tomli_w==1.1.0
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.3.0
vtk==9.3.1

Metadata

Metadata

Assignees

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