6 #############################################################
7 ##puts "Multiple Selection: Choosing of viewer MODA for selection of PRIMITIVE"
8 ##puts "(visual checking for this case is desirable)"
9 #############################################################
10 # Selection Modes Activation:
11 # 0 - OBJECT, 1 - PRIMITIVE, 2 - ELEMENT, 3 - VERTEX, 4 - NONE
16 v2ddisplay b_b 0 0 0 1 1 1 1 0 0
19 QAv2dSetHighlightMode 1
20 if { [array get env os_type] != "" } {
23 if { [string compare $os "windows"] == 0 } {
41 QAShiftSelect2d 184 180
45 set Position_X [set Position_X$j]
46 set Position_Y [set Position_Y$j]
47 puts " Position_X$j= $Position_X Position_Y$j= $Position_Y"
49 set color [QAAISGetPixelColor2d ${Position_X} ${Position_Y} ]
50 regexp {RED +: +([-0-9.+eE]+)} $color full rd
51 regexp {GREEN +: +([-0-9.+eE]+)} $color full gr
52 regexp {BLUE +: +([-0-9.+eE]+)} $color full bl
54 set rd_int [expr int($rd * 1.e+05)]
55 set gr_int [expr int($gr * 1.e+05)]
56 set bl_int [expr int($bl * 1.e+05)]
58 if { ${rd_int} != ${rd_ch} || ${gr_int} != ${gr_ch} || ${bl_int} != ${bl_ch} } {
59 puts "Error : colors are not equal"
60 puts "Error : (PRIMITIVE number $j) Multiple Selection: Choosing of viewer MOD for selection of PRIMITIVE was NOT MADE properly"