hm_modelcheckneedscorrection

Determines if an auto correction is required for a given check.

Syntax

hm_modelcheckneedscorrection ?check_display_name?

Type

HyperMesh Tcl Query

Description

Returns 1 if an auto correction is required for a given check. Checks with auto correction should be run and have failed entities before running this command.

Inputs

check_display_name
The GUI display name of the check. This is case sensitive.
If not specified, then all checks in the current profile are considered and if any of them require correction and support auto correction, 1 will be returned.

Examples

To get the correction status for the "Unused materials" check:

hm_modelcheckneedscorrection "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