download_file#
- DownloadManager.download_file(filename, *directory, destination=None, force=False)#
Download an example file from the PyPrimeMesh repository.
- Parameters:
- filename
str Name of the example file to download.
- destination
str,optional Path to download the example file to. The default is
None, in which case the default path for app data is used.- forcebool,
optional Whether to always download the example file. The default is
False, in which case if the example file is cached, it is reused.- directory
tuple[str] Path under the PyAnsys Github examples repository.
- filename
- Returns:
- Return type: