-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plvect problem #2202
Comments
Hi @Artyom-K This is not a bug - it's a quirk of MAPDL that the 'edge' field of the plvect command is turning of/off the effect of the MAPDL /EDGE command. By default the /EDGE command does not show edges on a contour plot, so turning this off means to show the edges. Also /SHOW redirecting to a file keeps the graphics in memory, so issuing another plot command (any plot) or /SHOW purges the memory and the file is writted to the storage drive. Mike |
Hi @mikerife
Thank you @Artyom-K for opening this issue. |
@germa89 I'd leave the documentation alone as there are other examples of this that would need updated documentation too. Just on PLVECT there is the 'mode' field that interacts with the /DEVICE command. |
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
.🔍 Description of the bug
"edge" option works the other way around for me. "OFF" shows the edges, "ON" hides them.
Also, I don't know where to ask it but using plnsol I can get a figure with a plot to open (although I have to issue the command twice for the figure with results to appear. It doesn't work like that with plvect, It open .png file for writing, doesn't close it until I plot something else and doesn't plot in the figure like it does for plnsol. I was only able to use plvect if I specify writing to file with mapdl.show()
🕵️ Steps To Reproduce
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()
''' run any analysis with stress'''
mapdl.show(fname='PNG')
mapdl.plvect('s', mode='VECTOR', edge='ON')
mapdl.plvect('s', mode='VECTOR', edge='ON')
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.11
📝 PyMAPDL Report
Show the Report!
📝 Installed packages
Show the installed packages!
📝 Logger output file
Show the logger output file.
The text was updated successfully, but these errors were encountered: