7 restore [locate_data_file buc60409a.brep] c
8 restore [locate_data_file buc60409b.brep] s
10 set che [checkshape c]
11 if { [regexp {Faulty} $che ] == 1 } {
12 puts "Faulty BUC60409 (shape 1): Source shape is invalid. It was detected by Checkshape command"
13 puts "Body of the script was NOT executed"
16 puts "BUC60409 OK (shape 1): Source shape is valid"
17 set che [checkshape s]
18 if { [regexp {Faulty} $che ] == 1 } {
19 puts "Faulty BUC60409 (shape 2): Source shape is invalid. It was detected by Checkshape command"
20 puts "Body of the script was NOT executed"
23 puts "BUC60409 OK (shape 2): Source shape is valid"