Skip to main content

Prime Mesh Python client library 2025 R2 SP02

DownloadManager

Last update: 16.10.2025

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

Name Description
DownloadManager.add_file(file_path) Add the path for a downloaded example file to a list.
DownloadManager.clear_download_cache() Remove downloaded example files from the local path.
DownloadManager.download_file(filename, ...) Download an example file from the PyPrimeMesh repository.

Connect with Ansys