*writemodelcheckresultfile

Writes out model check results to a file.

Syntax

*writemodelcheckresultfile filename filetype

Type

HyperMesh Tcl Modify Command

Description

Writes out model check results to a file.

Inputs

filename
The full path and name of the file to write. By default it will be given a .txt extention if not specified.
filetype
0 or 1 - Only the failed count associated with the checks is written out
2 - Entity type, failed count and count of entities in the model are written against the check
3 - Along with the above information, the time taken to run each check is also written out
4 - A detailed CSV report with entity type, run status, failed count, comments and failed entity IDs against each check is generated
5 - Writes out failed count against only failed checks flagged under user status column

Examples

To write results to the file C:/temp/check_results.txt

*writemodelcheckresultfile C:/temp/check_resutls.txt 1 

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2019