hm_comparesettransparentmode
Sets the graphical transparency mode for non-reviewed entities.
Syntax
hm_comparesettransparentmode mode ?color?
Type
HyperMesh Tcl Query Command
Description
Sets the graphical transparency mode for non-reviewed entities. This includes entities not part of the comparison, as well as entities turned off for review by hm_comparesetreviewtypes. This must be followed by a call to hm_comparesetreview to refresh the graphics.
Inputs
- mode
- 0 - Source and target entities with their review type on are shown in their review color. Source and target entities with their review type off, and all non-compared entities, are shown in black.
- color
- 0 - Transparent entities shown in gray (default if not specified).
Example
To set the transparent mode to 1 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_comparesettransparentmode 1
hm_comparesetreview 1
hm_compareend
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
12.0