non_interactive#

property Mapdl.non_interactive#

Non-interactive context manager.

Use this when using commands that require user interaction within MAPDL (e.g. Mapdl.vwrite()).

Examples

Use the non-interactive context manager for the VWRITE command. View the last response with Mapdl.last_response.

>>> with mapdl.non_interactive:
...    mapdl.run("*VWRITE,LABEL(1),VALUE(1,1),VALUE(1,2),VALUE(1,3)")
...    mapdl.run("(1X,A8,'   ',F10.1,'  ',F10.1,'   ',1F5.3)")
>>> mapdl.last_response