*modelcheck_applyautocorrectiononmark

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

Syntax

*modelcheck_applyautocorrectiononmark check_display_name mark_id ?correction_display_name?

Type

HyperMesh Tcl Modify Command

Description

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

Inputs

check_display_name
The GUI display name of the check. This is case sensitive.
mark_id
The ID of the mark of entities for which model checker is to be run. Valid values are 1 and 2.
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 all "Unused materials":

*createmark mats 1 all
*modelcheck_applyautocorrectiononmark "Unused materials" 1 "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