import_project_zip_archive_single_mode#
- Project.import_project_zip_archive_single_mode(project, category, archive_file, destination_file_directory)#
Import a zipped project archive – single project mode.
Available Since: 2024R2
- Parameters:
- project: str
Name of the Sherlock project.
- category: str
Sherlock project category.
- archive_file: str
Full path to the .zip archive file containing the project data.
- destination_file_directory: str
Directory in which the Sherlock project folder will be created.
- Returns:
- :
int
Status code of the response. 0 for success.
Examples
>>> from ansys.sherlock.core.launcher import launch_sherlock >>> sherlock = launch_sherlock() >>> sherlock.project.import_project_zip_archive_single_mode("Tutorial Project", "Demos", "Tutorial Project.zip", "New Tutorial Project")