hm_getmodelcheckcheckresult

Returns the result for a given check.

Syntax

hm_getmodelcheckcheckresult check_display_name

Type

HyperMesh Tcl Query Command

Description

Returns the result for a given check.

The result consists of:
  • <flag> - True if check is run and false otherwise
  • <number of failed entities> - The count of failed entities
  • <entity IDs> - The IDs of the failed entities

For example: true 4 46 47 48 49

Inputs

check_display_name
The GUI display name of the check. This is case sensitive.

Examples

To get the result for the "Unused materials" check:

hm_getmodelcheckcheckresult "Unused Materials"

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