validate_file#

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

Validates an HDF5 composite CAE file.

If stop_on_first_error is True, the function raises an exception on the first error. Otherwise, it reports all validation errors.

Parameters:
h5_file:

Path of the file to validate.

stop_on_first_error:

If True, stops on the first error. Otherwise, reports all validation errors.