1 ########################################
2 # Wrong export to STEP of located root.
3 ########################################
17 WriteStep D $imagedir/${casename}.stp
18 ReadStep DD $imagedir/${casename}.stp
21 set top_level [XGetTopLevelShapes DD]
22 if {$top_level != "0:1:1:1 0:1:1:2 0:1:1:3 0:1:1:4 0:1:1:5 0:1:1:6 "} {
23 puts "Error: wrong structure of document."
27 set nb [XNbComponents DD 0:1:1:6]
29 puts "Error: wrong structure of document."
31 set nb [XGetUsers DD 0:1:1:3]
33 puts "Error: wrong structure of document."
38 file delete $imagedir/${casename}.stp