validate_file#

ansys.hdf5_composite_cae.validate_file(h5_file: Path | str, stop_on_first_error=False)#

Validates a composite_cae hdf5 file.

Throws an exception on the first error if stop_on_first_error is true. Otherwise, prints the errors to the console.

Parameters:
h5_file:

Path of the file to validate

stop_on_first_error:

If True, stops on first error. Otherwise, lists all the errors found in the file.