download_result#

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

Download remote result files to a local directory

Parameters:
pathstr, Path, optional

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

progress_barbool, optional

Show the progress bar or not, default to False.

preferencestr

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.

Return type:

str

Examples

Download remote result files into the current working directory

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