import_ipc2581_archive#
- Project.import_ipc2581_archive(archive_file, include_other_layers, guess_part_properties, project=None, cca_name=None)#
Import an IPC2581 archive.
- Parameters:
archive_file (str) – Full path to the ODB++ archive file.
include_other_layers (bool) – Whether to include other layers.
guess_part_properties (bool) – Whether to guess part properties
project (str, optional) – Name of the Sherlock project. The default is
None, in which case the filename is used for the project name.cca_name (str, optional) – Name of the CCA. The default is
None, in which case the filename is be used for the CCA name.
Examples
>>> from ansys.sherlock.core.launcher import launch_sherlock >>> sherlock = launch_sherlock() >>> sherlock.project.import_ipc2581_archive("Tutorial.zip", True, True, project="Tutorial", cca_name="Card")