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 "OCC22962"
puts "============"
puts ""
#######################################################################
# Invalid realization of reading and writing material in STEP
#######################################################################
set BugNumber OCC22962
set check_value 97
pload OCAF
ReadStep D1 [locate_data_file OCC22962-dm1-oc-214.stp]
set dump_info [ XDumpDF D1 ]
regexp {attributes dumped between ([-0-9.+eE]+)} ${dump_info} full a1
set c1 [string compare $a1 $check_value]
if { $c1 != 0 } {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}