6 ##########################################################################################
7 puts "Visualization - selection does not adapt to line width change"
8 ##########################################################################################
10 pload VISUALIZATION MODELING
17 vsetlocation b1 10 10 0
20 vaspects b1 b2 -setWidth 3
23 # try to select b1 and b2
26 # check that both boxes were not selected with default tolerance value
27 set aNbSelected [vnbselected]
28 if {$aNbSelected != "0"} {
29 puts "ERROR: no boxes must be selected!"
32 # increase tolerance for b1
33 vaspects b1 -setSensitivity 2 4
37 # check that b1's edge was selected
38 set aNbSelected [vnbselected]
39 if {$aNbSelected != "1"} {
40 puts "ERROR: b1 was not selected"
44 # check that increase of tolerance for b1 doesn't influence
46 set aNbSelected [vnbselected]
47 if {$aNbSelected != "1"} {
48 puts "ERROR: b2 is selected after b1's tolerance increased"
51 checkview -screenshot -3d -path ${imagedir}/${test_image}.png