Show window generated in pymapdl on third-party software (Qt Creator, PyQt) #3003
Answered
by
germa89
COOLEST-GET
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
germa89
Apr 17, 2024
Replies: 1 comment 1 reply
-
Hi @COOLEST-GET PyMAPDL plotting functions can return a pyvista plotter object: pl = mapdl.post_processing.plot_nodal_displacements("X", return_plotter=True) This plotter ( Regarding specifics on how to couple this object with PyQT or Qt in general, I do not know. But I will refer you to pyvista library which handles all the plotting in PyMAPDL. I think @mcMunich did an example with Qt. Can you show it? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
germa89
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @COOLEST-GET
PyMAPDL plotting functions can return a pyvista plotter object:
This plotter (
pl
) can be used inside your code, add more plots, or whatever. And then show it (pl.show()
) in your code when needed.Regarding specifics on how to couple this object with PyQT or Qt in general, I do not know. But I will refer you to pyvista library which handles all the plotting in PyMAPDL.
I think @mcMunich did an example with Qt. Can you show it?