delete_all_mount_points#

Layer.delete_all_mount_points(project, cca_name)#

Delete all mount points for a CCA.

Available Since: 2022R2

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

  • cca_name (str) – Name of the CCA.

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_odb_archive(
    "ODB++ Tutorial.tgz",
    True,
    True,
    True,
    True,
    project="Test",
    cca_name="Card",
)
>>> sherlock.layer.update_mount_points_by_file(
    "Test",
    "Card",
    "MountPointImport.csv",
)
>>> sherlock.layer.delete_all_mount_points("Test", "Card")