Description
Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
For my maxwell transient simulation i'm trying to link the mesh to my static solution.
In PYAEDT 0.10.0 not passing a solution argument was finding the correct solution name however now in PYAEDT 0.15 i'm noticing that wrong solution name is being used and passing a solution as argument yields the wrong result.
Steps To Reproduce
- Create maxwell magnetostatic design -> setup/solve
- Create a maxwell transient design in the same project.
A setup.add_mesh_link("Bfield",solution= "MySetupAuto : LastAdaptive") yields a mesh link to "default"
A setup.add_mesh_link("Bfield") yields a mesh link to "MySetupAuto : Transient"
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==1.0.10
ansys-edb-core==0.1.9
ansys-pythonnet==3.1.0rc6
anyio==4.9.0
app==0.1.0
attrs==24.2.0
cffi==1.17.1
click==8.1.8
clr_loader==0.2.7.post0
colorama==0.4.6
defusedxml==0.7.1
exceptiongroup==1.2.2
fastapi==0.115.12
fonttools==4.56.0
fpdf2==2.8.2
grpcio==1.70.0
h11==0.14.0
idna==3.10
Jinja2==3.0.3
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
MarkupSafe==3.0.2
msgpack==1.0.8
nest-asyncio==1.6.0
numpy==1.26.4
occ-utils==1.2.4
occ-wrapper==7.3.0.1
packaging==24.2
pandas==2.2.3
parapy==1.13.1
parapy-lib-construction==0.3.3
parapy-webgui==1.2.6
parapy-webgui-layout==0.15
parapy-webgui-mui==1.1.2
parapy-webgui-plotly==0.8.0
parapy-webgui-projects==0.10.7
parapy-webgui-reflex==0.9.0
parapy-webgui-viewer==0.25.7
pillow==11.1.0
plumbum==1.9.0
protobuf==4.25.6
psutil==7.0.0
pyaedt==0.15.5
pycparser==2.22
pydantic==2.10.6
pydantic_core==2.27.2
pyedb==0.39.1
python-dateutil==2.9.0.post0
python-multipart==0.0.20
pytomlpp==1.0.13
pytz==2025.2
pywin32==310
PyYAML==6.0.2
referencing==0.35.1
rpds-py==0.24.0
rpyc==6.0.1
rtree==1.4.0
scikit-rf==1.6.2
scipy==1.15.2
six==1.17.0
sniffio==1.3.1
starlette==0.46.1
toml==0.10.2
tomli==2.2.1
tomli_w==1.2.0
typing_extensions==4.13.0
tzdata==2025.2
uvicorn==0.34.0
watchdog==3.0.0
websockets==15.0.1
wxPython==4.2.1