import_project_zip_archive#

Project.import_project_zip_archive(project, category, archive_file)#

Import a zipped project archive – multiple project mode.

Available Since: 2024R2

Parameters:
  • project (str) – str: Name of the Sherlock project.

  • category (str) – str: Sherlock project category.

  • archive_file (str) – str: Full path to the .zip archive file containing the project data.

Return type:

int

Returns:

:
int

Status code of the response. 0 for success.

Examples

>>> from ansys.sherlock.core import launcher
>>> sherlock, install_dir = launcher.launch_and_connect(transport_mode="wnua")
>>> sherlock.project.import_project_zip_archive("Tutorial Project", "Demos",
"Tutorial Project.zip")