*midmesh_inspect_end

Clears memory and ends the midmesh inspection module.

Syntax

*midmesh_inspect_end

Type

HyperMesh Tcl Modify Command

Description

Clears memory and ends the midmesh inspection module. This must be preceded by any calls to *midmesh_inspect_init and other *midmesh_inspect_* APIs.

Inputs

None.

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