exit#

Mapdl.exit(save=False, force=False)[source]#

Exit MAPDL.

Parameters:
savebool, optional

Save the database on exit. The default is False.

forcebool, optional

Override any environment variables that may inhibit exiting MAPDL.

Notes

If PYMAPDL_START_INSTANCE is set to False (generally set in remote testing or documentation build), then this will be ignored. Override this behavior with force=True to always force exiting MAPDL regardless of your local environment.

Examples

>>> mapdl.exit()