Skip to content

launch_workbench launches with GUI also if show_gui =FalseΒ #268

@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 "launch_workbench" correctly opens a Workbench instance, but the argument show_gui =False does not work. The GUI is shown.

πŸ“ Steps to reproduce

wb = launch_workbench(version="252",client_workdir=r'C:/Users/tbertonc/Documents/Varistor_25R2', show_gui=False) # 25.2

πŸ’» Which operating system are you using?

Windows

πŸ“€ Which ANSYS version are you using?

25.2

🐍 Which Python version are you using?

3.10

πŸ“¦ Installed packages

(test_PyWB) PS C:\Users\tbertonc\PycharmProjects\test_PyWB> python -m pip freeze
about-time==4.2.1
aiohappyeyeballs==2.6.1
aiohttp==3.12.15
aiosignal==1.4.0
alive-progress==3.3.0
annotated-types==0.7.0
ansys-api-edb==0.2.1
ansys-api-fluent==0.3.36
ansys-api-mechanical==0.1.2
ansys-api-platform-instancemanagement==1.1.3
ansys-api-tools-filetransfer==0.1.1
ansys-api-workbench==0.2.0
ansys-edb-core==0.2.1
ansys-fluent-core==0.26.0
ansys-fluent-visualization==0.14.0
ansys-mechanical-core==0.11.12
ansys-mechanical-env==0.1.9
ansys-mechanical-stubs==0.1.6
ansys-platform-instancemanagement==1.1.2
ansys-pythonnet==3.1.0rc7
ansys-tools-filetransfer==0.1.1
ansys-tools-path==0.7.3
ansys-units==0.3.5
ansys-workbench-core==0.8.0
anyio==4.2.0
appdirs==1.4.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
artifacts-keyring==0.3.4
asgiref==3.9.1
asttokens==2.4.1
async-lru==2.0.4
async-timeout==5.0.1
attrs==23.2.0
Babel==2.14.0
beartype==0.21.0
beautifulsoup4==4.12.2
bleach==6.1.0
certifi==2023.11.17
cffi==2.0.0
charset-normalizer==3.3.2
click==8.1.7
clr_loader==0.2.7.post0
colorama==0.4.6
comm==0.2.1
contourpy==1.2.0
cycler==0.12.1
debugpy==1.8.0
decorator==5.1.1
defusedxml==0.7.1
Django==5.2.6
docker==7.1.0
easygui==0.98.3
exceptiongroup==1.2.0
executing==2.0.1
fastjsonschema==2.19.1
fonttools==4.47.0
fpdf2==2.7.8
fqdn==1.5.1
frozenlist==1.7.0
graphemeu==0.7.2
grpcio==1.70.0
grpcio-health-checking==1.62.3
idna==3.6
importlib-metadata==7.0.1
ipykernel==6.28.0
ipython==8.20.0
ipywidgets==8.1.1
isoduration==20.11.0
jaraco.classes==3.3.0
jedi==0.19.1
Jinja2==3.1.2
joblib==1.5.2
json5==0.9.14
jsonpointer==2.4
jsonschema==4.20.0
jsonschema-specifications==2023.12.1
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-events==0.9.0
jupyter-lsp==2.2.1
jupyter_client==8.6.0
jupyter_core==5.7.0
jupyter_server==2.12.2
jupyter_server_proxy==4.4.0
jupyter_server_terminals==0.5.1
jupyterlab==4.0.10
jupyterlab-widgets==3.0.9
jupyterlab_pygments==0.3.0
jupyterlab_server==2.25.2
keyring==24.3.0
kiwisolver==1.4.5
lxml==6.0.1
MarkupSafe==2.1.3
matplotlib==3.10.0
matplotlib-inline==0.1.6
mistune==3.0.2
more-itertools==10.1.0
msgpack==1.1.1
multidict==6.6.4
nbclient==0.9.0
nbconvert==7.14.0
nbformat==5.9.2
nest-asyncio==1.5.8
nltk==3.9.1
notebook==7.0.6
notebook_shim==0.2.3
numpy==1.26.3
overrides==7.4.0
packaging==23.2
pandas==2.2.3
pandocfilters==1.5.0
parso==0.8.3
pillow==10.2.0
platformdirs==4.1.0
plumbum==1.8.2
pooch==1.8.0
prometheus-client==0.19.0
prompt-toolkit==3.0.43
propcache==0.3.2
protobuf==4.25.8
psutil==6.1.1
pure-eval==0.2.2
pyaedt==0.16.2
pycparser==2.21
pydantic==2.11.9
pydantic_core==2.33.2
pyedb==0.57.0
Pygments==2.17.2
pyparsing==3.1.1
PySide6==6.7.3
PySide6_Addons==6.7.3
PySide6_Essentials==6.7.3
python-dateutil==2.8.2
python-json-logger==2.0.7
pytomlpp==1.0.13
pytz==2025.2
pyvista==0.44.2
pyvistaqt==0.11.3
pywin32==306
pywin32-ctypes==0.2.2
pywinpty==2.0.12
PyYAML==6.0.1
pyzmq==25.1.2
qtconsole==5.5.1
QtPy==2.4.1
referencing==0.32.1
regex==2025.9.18
requests==2.32.5
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.16.2
rpyc==6.0.0
rtree==1.4.1
scikit-rf==1.8.0
scipy==1.15.3
scooby==0.9.2
Send2Trash==1.8.2
shapely==2.1.1
shiboken6==6.7.3
simpervisor==1.0.0
six==1.16.0
sniffio==1.3.0
soupsieve==2.5
sqlparse==0.5.3
stack-data==0.6.3
terminado==0.18.0
tinycss2==1.2.1
toml==0.10.2
tomli==2.0.1
tomli_w==1.2.0
tornado==6.4
tqdm==4.66.1
traitlets==5.14.1
trame==3.12.0
trame-client==3.10.2
trame-common==1.0.1
trame-server==3.6.0
trame-vtk==2.9.1
trame-vuetify==3.0.3
types-python-dateutil==2.8.19.20240106
typing-inspection==0.4.1
typing_extensions==4.15.0
tzdata==2025.2
uri-template==1.3.0
urllib3==2.1.0
vtk==9.3.0
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.7.0
widgetsnbextension==4.0.9
WMI==1.5.1
wslink==2.4.0
yarl==1.20.1
zipp==3.17.0

Metadata

Metadata

Assignees

No one assigned

    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