0026342: No materials are read from STEP
[occt.git] / tests / bugs / step / bug26342
... / ...
CommitLineData
1puts "============"
2puts "OCC26342"
3puts "============"
4puts ""
5
6#######################################################################
7# No materials are read from STEP
8#######################################################################
9
10pload DCAF
11
12ReadStep D [locate_data_file OCC23251-dm1-oc-214.stp] res
13
14set dump_info [ XDumpDF D ]
15
16set XCAFDoc_Material_ID "efd212f8-6dfd-11d4-b9c8-0060b0ee281b"
17
18if { [regexp ${XCAFDoc_Material_ID} ${dump_info}] == 1 } {
19 puts "OK: materials are read from STEP"
20} else {
21 puts "Error : No materials are read from STEP"
22}