*midmesh_inspect_delete_sets

Deletes sets created in the midmesh inspect module.

Syntax

*midmesh_inspect_delete_sets mode

Type

HyperMesh Tcl Modify Command

Description

Deletes sets created in the midmesh inspect module. This must be preceded by a call to *midmesh_inspect_init.

Inputs

mode
1 - Delete all midmesh inspect sets
2 - Delete empty midmesh inspect sets

Examples

To detect and correct nodes off mid, delete empty sets, and shut down the inspect module:
*createmark components 1 "shell"
*createmark components 2 "MidmeshEdges" "Mid"
*midmesh_inspect_init SourceEntityType=components SourceMark=1 TargetEntityType=components TargetMark=2 MinNodeOffMidDeviation=0.2
*midmesh_inspect_fix_problems nodes 2 ProblemType=NodeOffMid SmoothClusters=1 SmoothMethod=Auto
*midmesh_inspect_delete_sets 2
*midmesh_inspect_end

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

2021