directory#

property Mapdl.directory: str#

Current MAPDL directory.

Examples

Directory on Linux

>>> mapdl.directory
'/tmp/ansys'

Directory on Windows

>>> mapdl.directory
'C:/temp_directory/'

Setting the directory

>>> mapdl.directory = 'C:/temp_directory/'
None

In case the directory does not exist or it is not accessible, cwd (MapdlBase.cwd()) will raise a warning.