list_files#

MapdlGrpc.list_files(refresh_cache=True)[source]#

List the files in the working directory of MAPDL.

Parameters:
refresh_cachebool, optional

If local, refresh local cache by querying MAPDL for its current path.

Returns:
list

List of files in the working directory of MAPDL.

Return type:

List[str]

Examples

>>> files = mapdl.list_files()
>>> for file in files: print(file)
file.lock
file0.bat
file0.err
file0.log
file0.page
file1.err
file1.log
file1.out
file1.page