hm_comparesetreviewcolordefault
Sets the graphical review color for comparison results back to the defaults.
Syntax
hm_comparesetreviewcolordefault
Type
HyperMesh Tcl Query
Description
Sets the graphical review color for comparison results back to the defaults. This must be followed by a call to hm_comparesetreview to refresh the graphics.
The default colors are:
Inactive - 1
Unmatched source - 11
Unmatched target - 14
Topology source - 26
Topology target - 46
Intersected source - 42
Intersected target - 38
Overlapped source - 62
Overlapped target - 30
Matched source - 54
Matched target - 22
Example
To reset the review colors to the default values 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_comparesetreviewcolordefault
hm_comparesetreview 1
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