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

  • cca_name (str) – str: Name of the CCA.

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

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

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_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"
>>> )