download_result#
- MapdlGrpc.download_result(path=None, progress_bar=False, preference=None)#
Download remote result files to a local directory
- Parameters:
- path
str
,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.
- preference
str
Preferred type for the result file, which is either
rst
orrth
. This parameter is only required when both files are present. The default is`None
, in which case"rst"
is used.
- path
- Return type:
Examples
Download remote result files into the current working directory
>>> import os >>> mapdl.download_result(os.getcwd())