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) – Name of the Sherlock project.

  • category (str) – Sherlock project category.

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

Returns:

Status code of the response. 0 for success.

Return type:

int

Examples

>>> from ansys.sherlock.core.launcher import launch_sherlock
>>> sherlock = launch_sherlock()
>>> sherlock.project.import_project_zip_archive("Tutorial Project", "Demos",
"Tutorial Project.zip")