DownloadManager#
- class ansys.meshing.prime.examples.DownloadManager(*args, **kwargs)#
Manages downloads of example files.
Local paths are saved in this class so that a global cleanup of example files can be performed when the client is closed.
Methods
DownloadManager.add_file
(file_path)Add the path for a downloaded example file to a list.
Remove downloaded example files from the local path.
DownloadManager.download_file
(filename, ...)Download an example file from the PyPrimeMesh repository.