Python crash when calling some plotter methods after displaying a graphics object #357
Open
2 tasks done
Labels
bug
Something isn't working
🔍 Before submitting the issue
🐞 Description of the bug
After calling
display()
on a graphics session object, attempting to modify it afterward by callingadd_axes()
on the plotter object causes Python to crash, showing an unhelpful error:📝 Steps to reproduce
display()
on the graphics session.pyvista_windows_manager.get_plotter()
.add_axes()
on the plotter object.It is unclear if
add_axes()
is the only plotter method that causes this issue. It affects the CHT and brake disk PyFluent examples.This script and mesh based on the CHT example will reproduce the bug (on SharePoint due to the size of the mesh file): https://ansys-my.sharepoint.com/:u:/p/jess_sia-ext/ESA7FK_sfAhIgTyjLvlpVSUBsTgWTiXoAyxkKQFWyxdk3A?e=bVxCxq
This is the script only. You will have to provide the mesh yourself for this to work: CHT.zip
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
Fluent 24R1
Also occurs on Fluent 23R2
🐍 Which Python version are you using?
3.11
📦 Installed packages
The text was updated successfully, but these errors were encountered: