open_gui#
- Mapdl.open_gui(include_result=None, inplace=None)#
Save the existing database and open it up in the MAPDL GUI.
- Parameters:
- include_resultbool,
optional
Allow the result file to be post processed in the GUI. It is ignored if
inplace
isTrue
. By default,True
.- inplacebool,
optional
Open the GUI on the current MAPDL working directory, instead of creating a new temporary directory and coping the results files over there. If
True
, ignoresinclude_result
parameter. By default, thisFalse
.
- include_resultbool,
Examples
>>> from ansys.mapdl.core import launch_mapdl >>> mapdl = launch_mapdl()
Create a square area using keypoints.
>>> mapdl.prep7() >>> mapdl.k(1, 0, 0, 0) >>> mapdl.k(2, 1, 0, 0) >>> mapdl.k(3, 1, 1, 0) >>> mapdl.k(4, 0, 1, 0) >>> mapdl.l(1, 2) >>> mapdl.l(2, 3) >>> mapdl.l(3, 4) >>> mapdl.l(4, 1) >>> mapdl.al(1, 2, 3, 4)
Open up the gui.
>>> mapdl.open_gui()
Resume where you left off.
>>> mapdl.et(1, 'MESH200', 6) >>> mapdl.amesh('all') >>> mapdl.eplot()