update_test_fixtures_by_file#
- Layer.update_test_fixtures_by_file(project, cca_name, file_path)#
Update test fixture properties of a CCA from a CSV file.
- Parameters:
project (str) – Name of the Sherlock project.
cca_name (str) – Name of the CCA.
file_path (str) – Path for the CSV file with the test fixture properties.
- 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_test_fixtures_by_file( "Test", "Card", "TestFixturesImport.csv", )