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 "OCC21046"
puts "============"
puts ""
#######################################################################
# XShow raises an exception
#######################################################################
pload OCAF
set BugNumber OCC21046
box B 100 100 100
XNewDoc D
SetShape D 0:1 B
XShow D 0:1
if [catch { XShow D 0:1 } ] {
puts "Faulty ${BugNumber} : XShow is wrong"
} elseif [catch { vmoveto 10 10 } ] {
puts "Faulty ${BugNumber} : XShow is wrong"
} else {
puts "OK ${BugNumber}"
}