*elempatchstartaction

Starts the QI patch checker.

Syntax

*elempatchstartaction patch_type threshold

Type

HyperMesh Tcl Modify

Description

Starts the QI patch checker.

This command only functions between an *elementqualitysetup command and an *elementqualityshutdown command.

Inputs

patch_type
Must be set to 0.
threshold
Threshold value for the element quality:
  • 0.8 - Warning elements
  • 1.0 - Failed elements
  • 10.0 - Worst elements

Example

To start the patch checker and move through several patches, changing the patch size, while using quality criteria given from a file:
*readqualitycriteria c:/criteria/mycriteria.txt
*createmark elems 1 displayed
*elementqualitysetup 1
*elempatchstartaction 0 1.0
*elempatchnextaction
*elempatchnextaction
*elempatchincraction
*elempatchprevaction
*elempatchdecraction
*elempatchstopaction
*elementqualityshutdown 1

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

13.0