export_all_test_fixtures#

Layer.export_all_test_fixtures(project, cca_name, export_file, units='DEFAULT')#

Export the test fixture properties for a CCA.

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

  • cca_name (str) – Name of the CCA.

  • export_file (str) – Full path for the CSV file to export the text fixtures list to.

  • units (str, optional) – Units to use when exporting the test fixtures. The default is DEFAULT.

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="Tutorial Project",
    cca_name="Card",
)
>>> sherlock.layer.export_all_test_fixtures(
    "Tutorial Project",
    "Card",
    "TestFixturesExport.csv",
    "DEFAULT",
)