-
Dear all, I was looking to the example for path operations, and I found several issues to launch and to understand what I'm doing wrong. The following line did not work at all: mapdl.post_processing.plot_nodal_displacement(lighting=False, show_edges=True) I replaced by this and work result = mapdl.result
result.plot_nodal_displacement(0,'norm',lighting=False, show_edges=True) The problem I face it's when I try this part of the code:
I got an exception and I'm not able to make it work, anyone has faced this issued before? Thank you very much, David |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @peluho
mapdl.post_processing.plot_nodal_displacement("norm", lighting=False, show_edges=True) ??
Kind regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @peluho The first field of the mapdl.post_processing.plot_nodal_displacement("norm", lighting=False, show_edges=True) The post_processing method respects MAPDL commands so the SET command is used to read in the specific set of results from the result file. Whereas the result method is stand-alone so the first item of the plotting command is to define which set of results to plot. Also an example of path operations can be found here: Mike |
Beta Was this translation helpful? Give feedback.
Hi @peluho The first field of the
mapdl.post_processing.plot_nodal_displacement
is the component to plot. So the command is:The post_processing method respects MAPDL commands so the SET command is used to read in the specific set of results from the result file. Whereas the result method is stand-alone so the first item of the plotting command is to define which set of results to plot.
Also an example of path operations can be found here:
https://mapdl.docs.pyansys.com/examples/gallery_examples/00-mapdl-examples/path_operations.html#sphx-glr-examples-gallery-examples-00-mapdl-examples-path-operations-py
…