1 # check that restore command defines default name for the loaded shape
2 # as base name of the file without extension
4 restore [locate_data_file CCV-POUR-COPIER-COLLER.brep]
6 if { ! [regexp {is a shape} [whatis CCV-POUR-COPIER-COLLER]] } {
7 puts "Error: no shape with name CCV-POUR-COPIER-COLLER after restore"