*modelcheck_applyautocorrection
Runs auto correction on the model, if checks are run.
Syntax
*modelcheck_applyautocorrection ?check_display_name? ?entity_type? ?mark_id?
Type
HyperMesh Tcl Modify
Description
Runs auto correction on the model, if checks are run.
If executed with no arguments, then auto correction is applied on all checks for all entity types. The order in which auto correction is applied depends on the order in which checks are defined in the config file.
Inputs
- check_display_name
- The GUI display name of the check. This is case sensitive.
- entity_type
- The type of entity to be validated.
- mark_id
- The ID of the mark of entities for which model checker is to be run. Valid values are 1 and 2.
Examples
Run auto correction on the check named "checkname":
*modelcheck_applyautocorrection checkname
Run auto correction on properties 1-10 :
*createmark props 1 1-10
*modelcheck_applyautocorrection "" props 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019