download_result#

MapdlGrpc.download_result(path=None, progress_bar=False, preference=None)#

Download remote result files to a local directory

Parameters:
path

Path where the files are downloaded, by default the current python path (os.getcwd())

progress_bar

Show the progress bar or not, default to False.

preference

Preferred type for the result file, which is either rst or rth. This parameter is only required when both files are present. The default is `None, in which case "rst" is used.

Returns:
list[str]

List of downloaded files.

Return type:

str

Examples

Download remote result files into the current working directory

>>> import os
>>> mapdl.download_result(os.getcwd())