hm_comparesetreview

Sets the graphical review type for comparison results.

Syntax

hm_comparesetreview type ?min_legend? ?max_legend?

Type

HyperMesh Tcl Query Command

Description

Sets the graphical review type for comparison results. This must be preceded by a call to a relevant hm_compareentities* command. For distance review, a call must also be made to hm_comparefinddistances. This is cleared upon a call to hm_compareend.

Inputs

type
0 - Off
1 - Comparisons
2 - Distance
min_legend (optional)
Value that indicates the minimum value to use for the legend when type is 2. If not specified, the default is 0.0.
max_legend (optional)
Value that indicates the maximum value to use for the legend when type is 2. If not specified, the default is the maximum distance.

Example

To generate a contour of the distance results for a same side comparison of elems 1-20 and 101-120:

*createmark elems 1 1-20
*createmark elems 2 101-120
hm_compareinit
hm_compareentitiessameside surfs 1 surfs 2 0.1 2 0
hm_comparefinddistances 1.0 1
hm_comparesetreview 2
hm_compareend

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

12.0