Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.
puts "============"
puts "0032821: DEWrapper - Implementation of a common toolkit for importing and exporting CAD files"
puts "============"
puts ""
catch { Close D_First }
catch { Close D_Second }
XOpen ${filename} D_First
XGetOneShape S_First D_First
set file_path ${imagedir}/${casename}.xbf
WriteFile D_First $file_path -conf "provider.XCAF.OCC.append : 1 "
XOpen $file_path D_Second
XGetOneShape S_Second D_Second
checknbshapes S_Second -ref [nbshapes S_First]
file delete $file_path
Close D_First
Close D_Second