Skip to content

Bug located in ...Add sweep method can't be assigned in q2d under closed solution type #7192

@gchaturve

Description

@gchaturve

Before submitting the issue

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

Description of the bug

The sweep creation/assignment fails when attempting to add a sweep to a Q2D setup with a Closed solution type.

Steps To Reproduce

Launch ANSYS Electronics Desktop using PyAEDT.

Create a new Q2D Extractor design.

Create simple conductor geometry using PyAEDT APIs.

Assign materials and boundary conditions programmatically.

Create a Q2D setup via PyAEDT.

Set the setup solution type to Closed.

Attempt to create and assign a sweep (frequency or parametric) to the Q2D setup using PyAEDT sweep APIs.

Run the analysis.

Expected Behavior

The sweep should be created and successfully assigned to the Q2D setup when the solution type is set to Closed.

Actual Behavior

Sweep creation or assignment fails when using PyAEDT with a Q2D setup configured with a Closed solution type.

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

aiohappyeyeballs==2.6.1
aiohttp==3.13.3
aiosignal==1.4.0
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
ansys-tools-visualization-interface==0.12.1
anyio==4.12.1
argon2-cffi==25.1.0
argon2-cffi-bindings==25.1.0
arrow==1.4.0
asgiref==3.11.0
asttokens==3.0.1
async-lru==2.1.0
async-timeout==5.0.1
attrs==25.4.0
babel==2.17.0
beautifulsoup4==4.14.3
bleach==6.3.0
blosc2==3.12.2
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
comm==0.2.3
contourpy==1.3.2
coverage==7.13.1
cryptography==46.0.3
cycler==0.12.1
debugpy==1.8.19
decorator==5.2.1
defusedxml==0.7.1
distlib==0.4.0
Django==5.2.10
et_xmlfile==2.0.0
exceptiongroup==1.3.1
execnet==2.1.2
executing==2.2.1
ezdxf==1.4.3
fast_simplification==0.1.13
fastjsonschema==2.21.2
filelock==3.20.3
fonttools==4.61.1
fpdf2==2.8.5
fqdn==1.5.1
frozenlist==1.8.0
geopandas==1.1.2
grpcio==1.76.0
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
identify==2.6.16
idna==3.11
ImageIO==2.37.2
iniconfig==2.3.0
ipykernel==7.1.0
ipython==8.38.0
isoduration==20.11.0
jedi==0.19.2
Jinja2==3.1.6
json5==0.13.0
jsonpointer==3.0.0
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
jupyter-events==0.12.0
jupyter-lsp==2.3.0
jupyter_client==8.8.0
jupyter_core==5.9.1
jupyter_server==2.17.0
jupyter_server_terminals==0.5.4
jupyterlab==4.5.2
jupyterlab_pygments==0.3.0
jupyterlab_server==2.28.0
kiwisolver==1.4.9
lark==1.3.1
markdown-it-py==4.0.0
MarkupSafe==3.0.3
matplotlib==3.10.8
matplotlib-inline==0.2.1
mdurl==0.1.2
meshio==5.3.5
mistune==3.2.0
mock==5.2.0
more-itertools==10.8.0
msgpack==1.1.2
multidict==6.7.0
nbclient==0.10.4
nbconvert==7.16.6
nbformat==5.10.4
ndindex==1.10.1
nest-asyncio==1.6.0
networkx==3.4.2
nodeenv==1.10.0
notebook_shim==0.2.4
numexpr==2.14.1
numpy==2.2.6
openpyxl==3.1.5
osmnx==2.0.7
overrides==7.7.0
packaging==26.0
pandas==2.3.3
pandocfilters==1.5.1
parso==0.8.5
pillow==12.1.0
platformdirs==4.5.1
pluggy==1.6.0
plumbum==1.10.0
pooch==1.8.2
pre_commit==4.5.1
prometheus_client==0.24.1
prompt_toolkit==3.0.52
propcache==0.4.1
protobuf==4.25.8
psutil==7.2.1
pure_eval==0.2.3
py-cpuinfo==9.0.0
-e git+https://github.com/ansys/pyaedt.git@fa7b31d86086c3d4b630144cfa8808d66867fcf5#egg=pyaedt
pycparser==3.0
pydantic==2.12.5
pydantic_core==2.41.5
pyedb==0.67.3
Pygments==2.19.2
pyogrio==0.12.1
pyparsing==3.3.2
pyproj==3.7.1
pytest==9.0.2
pytest-cov==7.0.0
pytest-timeout==2.4.0
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
python-json-logger==4.0.0
pytz==2025.2
pyvista==0.46.5
pywin32==311
pywinpty==3.0.2
PyYAML==6.0.3
pyzmq==27.1.0
referencing==0.37.0
requests==2.32.5
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rfc3987-syntax==1.1.0
rich==14.2.0
rpds-py==0.30.0
rpyc==6.0.2
rtree==1.4.1
scikit-rf==1.9.0
scipy==1.15.3
scooby==0.11.0
Send2Trash==2.1.0
shapely==2.1.2
shellingham==1.5.4
six==1.17.0
soupsieve==2.8.3
sqlparse==0.5.5
stack-data==0.6.3
tables==3.10.1
terminado==0.18.1
tinycss2==1.4.0
toml==0.10.2
tomli==2.4.0
tomli_w==1.2.0
tornado==6.5.4
traitlets==5.14.3
trame==3.12.0
trame-client==3.11.2
trame-common==1.1.1
trame-router==2.3.0
trame-server==3.10.0
trame-vtk==2.10.2
trame-vuetify==3.2.0
typer==0.21.1
typing-inspection==0.4.2
typing_extensions==4.15.0
tzdata==2025.3
uri-template==1.3.0
urllib3==2.6.3
uv==0.9.26
virtualenv==20.36.1
vtk==9.5.2
wcwidth==0.3.0
webcolors==25.10.0
webencodings==0.5.1
websocket-client==1.9.0
websockets==15.0.1
wslink==2.5.0
xmltodict==1.0.2
yarl==1.22.0

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