*modelcheck_applycorrection

Runs auto correction on a given check, if checks are run.

Syntax

*modelcheck_applycorrection check_display_name correction_display_name

Type

HyperMesh Tcl Modify

Description

longDescription

Inputs

check_display_name
The GUI display name of the check. This is case sensitive.
correction_display_name
The GUI name of the correction. This is case sensitive.
If not provided, the then default auto correction associated with the check is applied.

Examples

To run the "Delete unused materials" auto correction for "Unused materials":

*modelcheck_applycorrectionon "Unused materials" "Delete 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