directory

property Mapdl.directory

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 (_MapdlCore.cwd()) will raise a warning.