5 ############################################################
6 # Open/save NamedShape changes order of shapes
7 ############################################################
15 NewDocument D1 BinOcaf
16 BuildNamedShape D1 0:1 PRIMITIVE v b
19 if { [regexp "SOLID" $info] != 1 } {
20 puts "Error: first shape should be solid"
22 puts "OK: order of shapes is correct"
29 if { [regexp "SOLID" $info] != 1 } {
30 puts "Error: first shape should be solid"
32 puts "OK: order of shapes is correct"
37 NewDocument D1 XmlOcaf
38 BuildNamedShape D1 0:1 PRIMITIVE v b
41 if { [regexp "SOLID" $info] != 1 } {
42 puts "Error: first shape should be solid"
44 puts "OK: order of shapes is correct"
51 if { [regexp "SOLID" $info] != 1 } {
52 puts "Error: first shape should be solid"
54 puts "OK: order of shapes is correct"