1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/xde/bug29436_4
ika 00dfcc765a 0029436: Data Exchange - Extend Expand compounds functionality.
Extend permissions for expand in ShapeTool
Fix processing of subshapes
Fix misprints
Add test cases
2018-01-23 20:13:11 +03:00

28 lines
608 B
Plaintext

puts "=========="
puts "OCC29436"
puts "=========="
puts ""
########################################
# Extend Expand compounds functionality
########################################
pload ALL
XOpen [locate_data_file bug29436_wire.xbf] D
XExpand D 1 0:1:1:1
# check colors
set color [XGetShapeColor D 0:1:1:2 c]
if {$color != "RED"} {
puts "Error: metadata lost during expand"
}
set color [XGetShapeColor D 0:1:1:2:1]
if {$color != "RED"} {
puts "Error: metadata lost during expand"
}
set color [XGetShapeColor D 0:1:1:3:1]
if {$color != "RED"} {
puts "Error: metadata lost during expand"
}
#Close D